Hi all,
I'm still struggling with trying configure my test system to make essentially simultaneous measurements from a number of different SCXI modules. I have a PCI-6040E multifunction DAQ card connected to an SCXI 1001 chassis. I have a number of SCXI modules with their respective signal conditioning terminal blocks to make thermocouple, voltage and current measurements. I also have modules for analog and digital output. In my initial configuration I created tasks for each of these "functions" and then had individual vi's in an acquisition loop for each of these tasks (t'couples, current, voltage). When the tasks are configured for single measurement, "on demand", each channel performs correctly, but the loop takes 6+ seconds to execute. For the thermocouples this would probably be ok, but I need to see the current, and as importantly, be able to change the analog out, more quickly. When I changed the configuration to any of the other selections (hw timed, continuous) I got the -50103 error that indicates that I'm trying to use resources that already in use. Suggestions are that I use only one task. My question is how to do this? Should I create virtual channels for each channel and put them all in one task? Can this be done with AI, AO, Dig out simultaneously? The documentation suggests that to generate a continuous voltage output on the AO pin that it be configured as single, on demand measurement. If the other channels will work as described (in one task) how might I generate a continuous voltage using one of the other configurations, as I would like to be able to "grab" more samples each time through the loop. I'm about to go back an rewrite it all in traditional DAQ, but want to try to get a little more experience with the "new" stuff as well as have something that would look a little more familiar to my recently LabVIEW basics schooled customer.
Thanks,
Putnam Monroe
PutnamCertified LabVIEW Developer
Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5

LabVIEW Champion