Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

SCXI-1127 and Reset NISwitch VI

I have a question with regard to resetting the SCXI-1127 Card.
I wrote a test VI that performs the following in sequence to
verify the -1127 operation:

1) Initialize the SCXI-1127 Card
(using a Instrument Descriptor of SCXI1::5::INDEP)

2) Control a single Switch (Close ch0)

3) Close the NI Switch Reference

The switch closes correctly, because I can hear it, but here is
the kicker, if I put the entire 3 steps in a While loop controlled
by a Boolean stop switch and run the VI, the Switch chatters (its
being opened and closed continuously). Now I realize that this is
normal operation *IF* the Initialize NISwitch VI is performing a reset
of all of the switches (i.e. OPENING all switches). However, I am
setting the ResetDevi
ce Input Boolean to False when I call the
Initialize NI switch VI, but it appears that the board is resetting
anyway. Has anyone seem this before? or is the Reset Device input
on the Initialize NISwitch VI not what it appears to be to me?

(The reason I am attempting this is to assertain that I *can* call
initialize (to get a reference) without changing the current state of
the switches. this is because I am leaving the LabVIEW environment
between switch setup calls, therefore I need to close the open
Instrument reference)

Any Help would be appreciated
Rick M


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 2
(2,974 Views)
Rick,

you are right: the reset option in this moment is not yet performing any
action inside the NI Switch driver. We apologize for the inconvenience: it
will be activated in future release of the products. Unfortunately, in this
moment it is not possible to avoid the RESET of the switch card when you
open a new session.

Maurizio

lmc_rick@my-deja.com wrote:
>I have a question with regard to resetting the SCXI-1127 Card.>I wrote a
test VI that performs the following in sequence to>verify the -1127 operation:>>1)
Initialize the SCXI-1127 Card>(using a Instrument Descriptor of SCXI1::5::INDEP)>>2)
Control a single Switch (Close ch0)>>3) Close the NI Switch Reference>>The
switch closes correctly, because I can hear it, but here is>the kicker, if
I put the entire 3
steps in a While loop controlled>by a Boolean stop switch
and run the VI, the Switch chatters (its>being opened and closed continuously).
Now I realize that this is>normal operation *IF* the Initialize NISwitch
VI is performing a reset>of all of the switches (i.e. OPENING all switches).
However, I am>setting the ResetDevice Input Boolean to False when I call
the>Initialize NI switch VI, but it appears that the board is resetting>anyway.
Has anyone seem this before? or is the Reset Device input>on the Initialize
NISwitch VI not what it appears to be to me?>>(The reason I am attempting
this is to assertain that I *can* call>initialize (to get a reference) without
changing the current state of>the switches. this is because I am leaving
the LabVIEW environment>between switch setup calls, therefore I need to close
the open>Instrument reference)>>Any Help would be appreciated>Rick M>>>Sent
via Deja.com http://www.deja.com/>Before you buy.
0 Kudos
Message 2 of 2
(2,974 Views)