11-22-2013 11:38 AM
I am having some DAQmx issues.
As seen in the first SS the program works when first initiated. Channels are specified, case structure is true, and the task out is defined and changes per sample rate.
In the second SS the channels are specified, case structure is true, yet the task out is empty.
All that I have done to create this error is load an excel file, for test parameters.
Ideas on where to troubleshoot?
11-22-2013 11:48 AM
Auto-cleanup
11-22-2013 12:02 PM
You really need to probe the error wire.
11-22-2013 12:03 PM
Without seeing more code it is hard to say, but my first guess is you have an error going into the Create Task function. If there is an error coming in it does nothing and will return an empty task.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-22-2013 12:05 PM - edited 11-22-2013 12:09 PM
Sorry, No errors before or after problem occurs.
11-22-2013 12:08 PM
@teslaaaa wrote:
Sorry, No errors before or after problem occurs.
I have a very hard time believing you. It will either generate a valid task, or it won't and it will have a reason that it didn't (which will be in the error)
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-22-2013 12:09 PM - edited 11-22-2013 12:10 PM
edit - never mind
11-22-2013 12:10 PM
added attachemnt
11-22-2013 12:18 PM
@teslaaaa wrote:
added attachemnt
Okays so you were right. I can't say I've ever seen that and I think to get any where further we'll likely need to see the code that is causing this issue and not just pictures of it if that is possible.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
11-22-2013 01:03 PM
I believe i solved the problem.
When i loaded parameters from the excel file i forgot to transpose an array and thus the gain did not get input correctly and was set to zero, which is not an allowable range to DAQ Create scale. Why that error is not present on the error probe I do not know.