Re: Trouble mixing DAQmx Events and User Events
NIDAQmx 9.7.5 - LV2013 - LVRT 2013 Another problem I found was because I had slipped onto the host PC. I'm supposed to be running on the PXI (where I have hardware), but I discovered one of these test...
View ArticleRe: Reading values from Hart Scientific 1529 in Labview
The instrument is echoing the command. This may be a setting you can change. Otherwise, to get a multi-line response, a simple technique is to just do two reads. The first read terminates after the...
View ArticleRe: Reading values from Hart Scientific 1529 in Labview
Is it trying to echo back the original command? Do two consecutive VISA reads, one will get the echoed back command, the other will get the response. (If you don't, your buffer will eventually fill up...
View ArticleRe: Trouble mixing DAQmx Events and User Events
SUCCESS! I had to use the BUNDLE trick. I originally had the DAQmx REGISTER function after the task config and before the START. But in all the fumbling around, I had moved it to AFTER the start....
View ArticleMulti Channel Data Acquisition using PXI-6143
Hi all I can acquire one channel data and am trying multi channel data acquisition using PXI-6143.And I made attached code.But in this code, the signal in ch1 is acquired and in ch2 is not acquired....
View ArticleRe: Multi Channel Data Acquisition using PXI-6143
You don't mention it but you are certainly getting a resource reserved error. Search the forum for the message or code or simply fix it by using a single task with multiple channels.
View ArticleRe: Simultaneous Execution of For Loop and While Loop
Wire a zero into the timeout terminal of the Wait on Notification function.
View Articlehow to select a region for analysis from a very big image
Hello everybody, The imgaes recorded are very big, with 1288*964 in scale. The regions I am interested is only a strip (say, (0, 400), (1288, 420) ) in the middle of the images. I need to anaylze the...
View ArticleRe: Multi Channel Data Acquisition using PXI-6143
Thank you for your comment.What is reserved error?That means errors are not indicated but occured?
View ArticleRe: Trouble mixing DAQmx Events and User Events
Again, haven't watched the jings because I'm lazy :smileytongue:, but my guess is it's somehow due to the strict typing of the wires. It is because of this strict typing that I always use bundle, with...
View ArticleRe: Multi Channel Data Acquisition using PXI-6143
No. You are getting an error and it will be indicated when the loop stops and your error handler is called.
View ArticleRe: Trouble mixing DAQmx Events and User Events
Another trick, you can use coerce to type to give more meaningful names to your event wires so when you register them they aren't just called "event registration refnum.<event name>"
View ArticleRe: Multi Channel Data Acquisition using PXI-6143
I improved the code as attached file by referencing this and it came no errors.
View ArticleRe: Multi Channel Data Acquisition using PXI-6143
The file is attached on my original post!
View ArticleRe: Multi Channel Data Acquisition using PXI-6143
That code is wrong! You simply cannot have two separate tasks. Change it. The only correct method is to specify both channels such as dev1/ai0:1. You should NOT expect an error message to pop up when...
View ArticleRe: how to select a region for analysis from a very big image
Hi beetle.Your previous thread already gave you some good advice where to start. Have you looked at the Vision examples in LabVIEW? As your previous thread said: "After installing the software, open...
View ArticleRe: How to extract last 4 digits from a hexadecimal output and convert it...
Jeff·Þ·Bohrer wrote:Really?Are you looking for an honorable mention in the R-G thread Thanks for pointing it out, Jeff. Re-reading the initial post now makes me see that there was no string data...
View ArticleRe: changing cluster elements to a more specific class
Jeff·Þ·Bohrer wrote:[...] Looking at the original post my mind wasn't going in that direction at all. [...]Same with me. This way in doing it is far away from R-G code. :smileyvery-happy:
View Article