From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

IviSwitch looses value when sending, "configure switch" configuration = TRUE

Solved!
Go to solution

Hi all,

we are currently evaluating Teststand 4.1 with a keithley 3706 system switch multimeter.

After a first enthusiasm, thinking this tool together with the switch multimeter fits perfect our needs, real life seems some harder.

 

Between several other problems, we need to tell the device, that the channel "s1com1" and "s1com2" are configuration channels.

Configuring the teststand step : Edit IVI Switch Step -> IVI switching, Configure Switch : Channels "s1com1", Configuration = True

leads to two actions observable in Ni Spy:

GetAttributeViBoolean(...,"s1com1", _IS_CONFIGURATION_CHANNEL , VI_FALSE)

SetAttributeViBoolean(...,"s1com1", _IS_CONFIGURATION_CHANNEL , VI_FALSE)

 

 

manually calling this class functions from an interactive CVI fp works as expected (setting it to VI_TRUE)

 

Does anybody have any hint what we could do wrong? Currently we are just before writing wrappers in cvi and skipping all the wonderful IVIStep Types in teststand.

 

Looking forward to any feedback

David Clus

0 Kudos
Message 1 of 6
(3,458 Views)

David -

What OS are you running on and what is your regional settings set to?

Scott Richardson
0 Kudos
Message 2 of 6
(3,453 Views)

Scott,

I'm runnnig Windows XP Prof. SP2. The regional settings  are german.

 

David Clus

0 Kudos
Message 3 of 6
(3,439 Views)
Solution
Accepted by topic author david_feo

David -

This might the same problem that we recently discovered in our internal testing. For the problem that we found, we will likely include our fix in an upcoming maintenance release. Can you verify whether the problem still occurs if you change your regional settings to English in the control panel? If the problem no longer occurs, can you use this as a workaround for now?

Message Edited by Scott Richardson on 10-06-2008 10:48 AM
Scott Richardson
0 Kudos
Message 4 of 6
(3,425 Views)

Scott,

thank you this would solve the problem and could even be a solution.

Due to some other restrictions when using IVI drivers with a combined Switch and DMM we said finally goodbye to using the IVI driver and implemented some wrappers around the low level instrument driver and use them as CVI DLL calls.

 

Teststand seems to be a great tool, even if some of the expectations (Take teststand, buy an instrument supporting IVI drivers, and start creating testscripts....)  are not directly fulfilled.

 

Regards

David Clus

0 Kudos
Message 5 of 6
(3,414 Views)

David -

I am glad that you have moved forward on your TestStand solution. We will still likely fix the issue you reported in an upcoming maintenance release. Thank you for letting us know that you hit this.

Scott Richardson
0 Kudos
Message 6 of 6
(3,398 Views)