PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI 5600 soft reset from LabWindows/CVI

Hi,

 

Is it possible to have a soft reset on PXI 5600  from a CVI program?

I am looking for the counterpart of MAX's (Measurement and Automation tool) 'Reset' button  in Labwindows/CVI or any other soft environment.

 

Thanks.

0 Kudos
Message 1 of 5
(3,730 Views)

Hello,

 

The reset option in MAX is available through the NI-RFSA driver.  The function niRFSA_reset (); can be used in any of the supported APIs (LabVIEW, CVI, or C compiler capable of calling a 32-bit DLL).  The function is located in the Utility palette of the NI-RFSA driver.  Let me know if you have any further questions.

 

 

Samantha
National Instruments
Applications Engineer
0 Kudos
Message 2 of 5
(3,717 Views)

Thank you Samantha,

 

Actually I tried niRFSA_reset (); but I ended up getting the same error message saying something like that: "... the device is being used by NI Tuner or Ni 5600 or is being reset. After using NI Tuner you must reset it from MAX before using it in RFSA..." (err code: -200324).

 

I am trying to start an RFSA session after using 5600 in the same software application. What I am doing is resetting 5600 with niRFSA_reset () and initiating and RFSA session with RFSA_init() and finally getting the error message I mentioned. Possible reasons of this failure might be:

1. niRFSA_reset () resets the device in a different thread which it starts so I am trying to use the device while it is still being reset by the function.

2. Calling niRFSA_reset () only is not sufficient to be able to start RFSA after a 5600 session.  Maybe some configuration is needed after reset function.

 

I am still going over these tricks but have not found a solution yet.

0 Kudos
Message 3 of 5
(3,685 Views)

Hi OzgurDalkilic,

  

The NI-tuner driver at a lower level uses our Traditional DAQ driver and the device will need to be reset with that driver in order for it to be used with the NI-RFSA driver which is based on DAQmx.  Please take a look at the article here for more information on resetting your device in CVI, C, or Visual Basic.  Once you have reset the device using the Traditional DAQ driver call you will be able to use the NI-RFSA driver.

 

I hope this helps,

Paul C. 

0 Kudos
Message 4 of 5
(3,657 Views)

Thank you Paul,

 

DAQmx driver reset option solved the problem. 

0 Kudos
Message 5 of 5
(3,643 Views)