12-17-2007 01:15 PM
12-18-2007 06:17 PM
Hi deepsnow,
I have been looking at this issue, and I have a few things that you can try.
I assume that you are defining the SC-2043 SG by right-clicking on your 6034E under Traditional NI-DAQ (Legacy) Devices, selecting properties, and under the accessory tab selecting the SC-2043 SG. Can you confirm this for me when you open the VI, the signal is not read properly, but if you open the test panel, and read the signal in the test panel, then go back to the VI it does reads properly?
It sounds like the Traditional NI-DAQ configuration is not saving properly. This will occur if you do not have proper administrative rights to your computer.
In MAX, can you set up your SC-2043 SG accessory for your DAQ card and open test panel, and ensure that your VI is working correctly. Then go to Tools>> Traditional NI-DAQ configuration>>Save configuration as. Give it a file name and save it.
Next, go back to MAX and in the same menu, select Set Active Configuration. Select the file that you just created. Close MAX and re-open it and ensure that your accessory is still configured. If you don’t have administrative rights to your computer, this configuration will not remain. If you do not have administrative rights can you get them.
If you are still running into problems, can you please provide me with the following information:
What version of the NI-DAQ driver are you using, what OS are you using, is there any reason you are using traditional DAQ and not DAQmx, what Development System of LabVIEW do you have, i.e. Full, Professional...
Also are you using an example VI to acquire the data or are you using a VI that you created from scratch. If you are using a self-created VI, can you try and acquire this signal form a VI from Example finder (under help menu in LabVIEW).
Have a good evening
Chris_K
12-19-2007 12:06 PM
Hello Chris;
Yjour reccomendations worked great, and now it does hold the configured board.![]()
One similar related question. Can I call that .daq file in my vi to force this hardware configuration whenever I load my vi?
Deepsnow
12-20-2007 04:31 PM
Hi Deepsnow
I am glad that solution worked for you.
There is a VI called Set Default DAQ Configuration File.vi that can be used to call the saved .daq file.
It is located in C:\Program Files\National Instruments\LabVIEWx\vi.lib\daq\dqchnutl.llb. Use the Select VI from the block diagram function palette, and navigate to this file extension. Place this in your VI, and then use the error wire to ensure that it gets called before your other DAQ VIs.
Here are two Knowledge Base articles that explain this procedure.
How Can I Load or Change My NI-DAQ Configuration File (*.daq) Programmatically in LabVIEW?
http://digital.ni.com/public.nsf/websearch/862567530005F09C8625674E005EA939?OpenDocument
Can I Load a MAX Configuration File Based on the Current Windows Profiles?
http://digital.ni.com/public.nsf/allkb/F4EF5FFDB540C09986256E2100754A57?OpenDocument
Regards,
Chris_K