NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand defaults to DC StationGlobals.ts.Currentuser

Running TS 4 with LV 8 Coded Modules.  I have an Measurement Step calling a shipping example using a PXI 4071.  The VI calls a number of different vis to configure the 4071 to read volts,resistance, etc (niDMM config measurement, niDMM Initialize, etc).  When I try and select current measurement under module>parameter name in TS the Step defaults to "DC StationGlobals.TS.CurrentUser" when I run Teststand.  I can run the VI as a standalone ( current,volts,resist) and it works fine.  I can also select any other measurement type in TS ( volts,freq, resist) w/o a problem. Included a screen capture.
Thanks,
Clint
0 Kudos
Message 1 of 8
(3,958 Views)
Hi Clint,
 
Is your vi configured right?
 
I have placed just for fun a vi from instrument lib  - it is working!
 
greetings
 
juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 8
(3,936 Views)
Juergen,
I guess I don't understand your question.  If you look at my screen capture you will notice under measurement type it is showing "DC StationGlobals.ts.Current user".  Prior to running this sequence I had selected DC Current for measurement type.  The seq returns an error because I don't have this variable defined.  I want current not whatever DC StationGlobals.ts.Current user is.   I can select DC Volts, AC Volts, 2 wire resistance etc and run the seq without a problem.  Its only when I select a current measurement I get this error. 
Try placing your VI ( LV8) in TS 4, select current measurement (AC or DC) and run the sequence.  See if you get an error. Its using a PXI 4070.
 
Thanks,
Clin
0 Kudos
Message 3 of 8
(3,892 Views)

Hi Clint,

At the monent i try to get the example(shipped with ni-dmm and LV8.0 ) running on my TS4.0
but i have also installed LV8.5 on my maschine. So TS tries open it with 8.5  Smiley Mad

be patient !

What i want to mention in my upper answer was that it is running on my maschine
with the example in screenshot.

greetings

Juergen  

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 8
(3,863 Views)
Juergen,
Try running the example you sent me but w "DC Current" OR "AC "Current" selected ( as default).    Right now your screen capture shows "DC Volts".  If you're running TS 4 and LV 8.5 that should be fine.  I think its a TS issue NOT a LV.
 
Clint
0 Kudos
Message 5 of 8
(3,857 Views)

This post is kind of old but I was just having this problem, too.

 

The "Measurement Type" input is number, not a string.  When the text is selected as "DC Current" it's interpretting the "Current" part as some global setting.  Instead, delete the garbage and just type in "2" for DC Current and "3" for AC Current and click outside the box.  The text should come up.

0 Kudos
Message 6 of 8
(3,546 Views)

jmacd,

I have not tried the files above yet, so I was unsure about your post.  Are you still experiencing a problem, or explaining what worked for you? Thanks!


Mark E.
National Instruments

0 Kudos
Message 7 of 8
(3,511 Views)

I was experiencing the problem and the above post is the explanation of how I fixed it.

0 Kudos
Message 8 of 8
(3,507 Views)