LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to hook up stepper motor, driver, and labview

Ok, new question... please take a look at my VI.  I'm having two problems.  I have added another chart, to go with an additional analog input that I want to record (in AI1).  However, when the VI is running, only the first chart is actually working (AI0).  I know the AI1 should be working because I copied the charting section and made a separate VI with only the charting of AI1 and it worked fine.

Also, for some reason my charts are only recording values of 5.23V and lower when I know the values should be larger.  The voltage will increase up to 5.23V, then remain at that value when the value should be increasing.  Any ideas?

 

Thanks,

Nick

0 Kudos
Message 21 of 23
(1,572 Views)

Nick,

   The 6009 has different AI ranges that the ADC can map to as defined by the datasheet. One possible reason is that the range is set from -5V to +5V. A workaround outlined in this KnowledgeBase is to adjust the min. and max. expected values in the Create Channel VI:

SS-2010.12.16-12.44.25.png

 

Does this fix the issue?

Ben J.
National Instruments
Applications Engineer
Message 22 of 23
(1,556 Views)

Perfect!  Thanks.

0 Kudos
Message 23 of 23
(1,542 Views)