Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Error code -200077 in SIT application

Hi

I am currently using SIT to communicate with my USB 6221 device. When I use MAX, I am able to read the voltage values from the 6221 device. In my application,  I have a simulink model (very basic one, one hardware input supposedly coming from my 6221 device and one signal generator and I am adding two signals together through sum block from Simulink).Then I succesfully generated my DLL files using Real-Time Workshop.  Afterwards,   I generated a host VI and driver VI using the SIT manager (I went through the all the DAQ mapping steps succefully). By the way, as a real-time target I am using my PC. I am running the driver VI first and then host VI second and then I am getting the -200077 error with the following messages:

 

 

Error -200077 occurred at Driver VI >>
Possible reason(s):

Measurements: Requested value is not a supported value for this property.


and this error:

 

Property Node DAQmx Timing (arg 3) in DAQmx Timing (Sample Clock).vi:2->sitdaq Configure Analog In.vi->sinewave_IO Init.vi->sinewave_Base Rate Loop.vi->sinewave_Driver.vi <append>
<B>Property: </B>SampQuant.SampMode
<B>You Have Requested: </B>Hardware Timed Single Point
<B>You Can Select: </B>Finite Samples, Continuous Samples

<B>Task Name: </B>SIT_Dev1_ai3

 

According to the error, I need to use either finite samples or continous samples. However, I don't have any idea where I can change my settings to the suggested ones. I was wondering if there is someone out there who can help me solve this issue. I was looking at the block diagram of the driver VI but couldn't locate these settings. Also, is there anyone who knows how to configure the 6221 device and save it. I would like to be able to make SIT generate my driver VI based on that configuration?

Thank you so much!

Best Regards;

Serdar

 

Download All
0 Kudos
Message 1 of 10
(4,974 Views)

Hi soylu,

 

What version of LabVIEW, Simulink, and SIT are you using?  What's your operating system as well?

 

If you target your Windows PC instead of the Real-Time PC, are you then able to run the model?

 

Kevin S.

Applications Engineer

National Instruments

0 Kudos
Message 2 of 10
(4,953 Views)

Hi Kevin;

Thank you so much for your reply. Below is my list of software configuration for this application:

Windows Vista SP1

Labview 8.5.1

Matlab 2007b;

Simulink 7.0

SIT 4.0;

DAQ Device: NI USB-6221(http://sine.ni.com/nips/cds/view/p/lang/en/nid/203093)

In my application, I am using my own windows-based PC as a real-time target. To do that, I am selecting the option of Driver VI on localhost in the SIT Manager (I am taking one step at a time; Once I get things working then I 'll convert one of my PCs to a real time target and target that machine). In terms of your question, When I target my Windows PC, the model doesn't run and returns the error code -200077.  By the way, this error occurs in the Driver VI generated by the SIT manager.

Thank you so much

Regards;

Serdar

PS:I've attached the driver VI generated by the sit manager.

 
Download All
0 Kudos
Message 3 of 10
(4,942 Views)

I'm trying to set up a similar software and hardware setup.  I can post my results when I get them.

 

Kevin S.

Applicaions Engineer

National Instruments

0 Kudos
Message 4 of 10
(4,925 Views)

Hi soylu,

 

In short, you are experiencing this error because SIT generates code using the DAQ option of "Hardware Timed Single Point".  When you use a DAQ device that doesn't support this, you get error -200077.

 

I could contact R&D regarding this issue, but National Instruments R&D has already responded to your other post regarding this issue.  I recommend that future postings be made to your other thread: dll can not be recognized by sit connection manager

 

Kevin S.

Applications Engineer

National Instruments

0 Kudos
Message 5 of 10
(4,911 Views)

Hi Kevin;

Thank you so much for your response. I posted my next question in my other thread as you suggested.  I posted the following question in my other thread "I was suggested to upgrade my DAQ device to M series device to fix the problem. However, my device is already an M series device. So does my DAQ (USB NI-6221) support "hardware Times Single Point". 

Again Thank you so  much!

Serdar
0 Kudos
Message 6 of 10
(4,902 Views)

hello

have you solved the problem with the error:Measurements: Requested value is not a supported value for this property.

I met the same problem with with you. thank you so much!

0 Kudos
Message 7 of 10
(4,667 Views)
Are you using the USB-6221 soylu is also using?  USB DAQ is not supported by SIT. 
Regards,

Mike S
NI AE
0 Kudos
Message 8 of 10
(4,635 Views)
Yes I solved the problem by using aN M series of DAQ card such as PXI6251.
0 Kudos
Message 9 of 10
(4,633 Views)

Hi All,

 

As a general rule, USB DAQ devices do not support Hardware-Timed Single Point. This mode would not work very well considering the high latency associated with USB transfers.

 

Best Regards,

Message Edited by John P on 12-13-2009 02:35 PM
John Passiak
0 Kudos
Message 10 of 10
(4,615 Views)