01-27-2011 03:31 PM - edited 01-27-2011 03:35 PM
I'm trying to set up AI and counter output, and I'm using digital output as trigger for to start AI and counter at the same time. I get error 200452 "Specified property is not supported by the devise..." not consistently, but around 5 runs out of 100. Below the error description, the error box shows "This error code is undefined. No one has provided a description for this code..." If I "Retain Wire Values" in Block Diagram, the error first appears after 'Start Digital Edge' block in top counter output line.
Using LabView 8.5 on MAC OS X and DAQmxBase 3.2
The MAC I have is not Intel base, so I can't upgrade LabView and DAQmxBase to latest version
Note: The file contains just a small portion of the program, but the rest of the program does not have any other DAQmxBase blocks accessing the channels used here in code attached.
01-31-2011 06:51 AM
Hi Azotov,
It looks like the DAQmx Base driver readme includes Mac OS X support for LabVIEW 8.5. Could you specify what hardware you are using?
I found one KnowledgeBase specifying that error code occurs when you try to use certain properties with certain devices. Of course, this would most likely occur every time you run the task, not 5% of the time.
Since I'm running Windows, it's a little difficult to see if you have DAQmx Base "Reset Device" functionality with that version of the driver. You might check if you can run that functionality before using your device, though.
01-31-2011 10:45 AM - edited 01-31-2011 10:50 AM
Thanks for your post
Hardware I use is 6040E (not sure if it's PCI or PXI). The error occurrence is not consistent, and code runs fine 95% of the time, so I believe all tasks and properties I use are appropriate for 6040E.
The code I uploaded runs in a 'for' loop in my program. If I have multiple iterations, the errors occur only during first iterations (5% of the time first iteration shows an error, but next iterations never show errors).
I'll try using "Reset Device" block. I'll post results