Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

6008 vb example problems

Hey,

I met a problem when I test the 6008 with the example in C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\Visual Basic 6.0\Analog Out\Generate Voltage\Cont Gen Volt Wfm-Int Clk

I run the example in VB6 and I got the error message "Error:- 200077 Measurements: Requested value is not a supported value for this property". I can not figure it out. Anyone can help?

BTW, I can test the 6008 perfectly in MAX. And does anyone know how to import a task from MAX to VB program?

Thanks,




0 Kudos
Message 1 of 3
(2,992 Views)

Hello Kevin,

If you are using DAQmx 7.5 or higher for your device driver, and you are using the default values for the Maximum and Minimum Values on the main form in the examples, and the regional settings on your operating system are not set to English (United States), then it is possible that the error is caused by the decimal point in the default values for Maximum and Minimum Values. Try using a comma instead of a decimal point for these values.  For more information, I recommend reading the knowledgebase article at the following link:

http://digital.ni.com/public.nsf/allkb/0332E1EE7081091D862570360030C9F4

For a procedure on how to import a task from MAX  to Visual Basic, I recommend reading the knowledgebase article at the following link:

http://digital.ni.com/public.nsf/allkb/DFCFC66A64B25EB486256F1D00655813

 

Best wishes,

Wallace F.

National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(2,961 Views)
Please tell me precisely what do you want to achieve?
Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 3 of 3
(2,864 Views)