10-10-2007 02:05 PM
10-11-2007 06:26 AM
10-11-2007 09:17 AM
I don't think so.. I'm not sure what you mean by "clearing the old task".
To be specific, I run the program, then click the stop button, the click the run button again, but I don't touch anything else.
10-11-2007 06:05 PM - edited 10-11-2007 06:05 PM
Welcome to the discussion forums, FTlengr!
I’ve spent a bit of time acquiring your same hardware and running what I believe to be an equivalent program to replicate the behavior you’re experiencing. I no longer have LabVIEW 7.1 installed on my computer, but I thought I would at least try it on LabVIEW 8.5 first. I don’t experience your issue, so I’m left wondering if it is a difference in program setup or a LabVIEW version change. Please try to make identical code in 7.1 as what I’ve posted in my included screenshot and let me know if you still experience the same thing. If not, check your settings. If you do, send me a screenshot of your setup so I can see why that might be.
By the way, I included the screenshot of the DAQmx VIs as it would take multiple pictures to show the DAQ Assistant settings, but I tried it in both and I don't see the signals switching.
Message Edited by Mark E on 10-11-2007 06:07 PM
10-12-2007 03:35 PM
10-15-2007 10:23 AM
Hi FTlengr,
I was able to get this to work both with DAQmx as well as the DAQ Assistant as seen by my previous screenshot, so it may have just been a configuration issue in your DAQ Assistant. One way to compare what settings you have versus the DAQmx code that I wrote is to follow these steps:
1. Configure the DAQ Assistant as normal in LabVIEW.
2. Right-click the DAQ Assistant and choose “Generate NI-DAQmx Code”.
3. You will see an untitled subVI that contains the entire configuration. Double-click it and look at the block diagram to see all the inputs and outputs. (One thing to note is that each channel will have its own setup, so it can get rather large. All the differential and RSE channels will have exactly the same parameters except for physical channel names, respectively. My code condensed this to two setup VIs: one for differential and one for RSE.)
4. Compare the generated code’s parameters to those of the DAQmx VIs and see what is different.
I hope this helps you see the similarities between DAQmx and the DAQ Assistant. Feel free to ask more questions if you have any.