Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

SBRIO-9607 SERIAL VISA WRITE ERROR -1073807339 WHEN ACCESSING SOCKETED CLIP SERIAL PORTS (ASLR:2 to ASLR7)

$
0
0

Dear all,

 

I am using SbRIO-9607 target and Labview 2015 ,NI-VISA 15.0.0 and NI-SERIAL 9870 and 9871 Scan Engine Support 15.0.0 tools respectively.

As u know, there are seven serial ports that are supported in SBRIO-9607 target (One can be accessed by console port and other six via socketed CLIP method .I am able to successfully communicate with console serial port ASRL1 using VISA Read/Write Tools but unable to use ASLR2-ASLR5using same VI(though i have followed all known steps using various articles for configuring the same ports using socketed CLIP method and routing their TX/RX to respective Digital lines)

 

Following is quick summary of steps i have followed to be able to use ASLR2 to ASLR5:

1. Configured ASLR2 TO ASLR 5 (Trying only RS232 in first place)using SbRIO CLIP Generator Utility. 

Untitled.png

2. After Socketed Clip File xml and configuration generated, added RMC SOCKET in Project as well as below

Untitled2.png

3. After all known steps done, i try to access any of the four instantiated (Serial 2 (ASLR2)to Serial 5(ASLR5))  socketed CLIP serial ports both using following two methods, i receive same error:

      a). Making a VI using VISA Write /Read functions Labview Realtime toolkit. Vi is           as below and selecting in it VISA Resource ASLR2 (Please note that this VI                 works perfectly fine when i communicate with ASLR1 using PC USB to Serial             cable connected to it)

 


Untitled3.png

When i try to run this VI, Labview generates error as below:

Untitled5.png

      When i searched this error , i found out it occurs if serial port write timeout value          is less( i increased it to 5000ms) OR no of bytes to be written at serial port are            less (which in my case is not happening, as i try to write only few bytes command)

 

      b)I tried to access same port using following VISA PANEL too from NI MAX page        but same error comes as shown below.

Untitled6.png

 

Untitled7.png

 

Kindly please help me in resolving this issue, all i wanted to do in first place was to be able to use socketed CLIP serial ports, I have these three basic queries

 

a). In ASLR2, Tx is connected to DIO64 and Rx is connected to DIO65, as per my concept, if any RS232 converter IC not connected to above pins, the basic check that i can perform is to physically short DIO64 and DIO 65 with a wire and call VISA Write and VISA Read functions in Labview Realtime as mentioned above (back to back), wtever written to DIO64 via Serial Write should reach DIO65, then to VISA REad and i am able to access written data in loop back.

 

b). Is there is some link i am missing in able to use correctly these socketed CLIP ports i.e.some API, Driver, step etc? As per my understanding, i can only access VISA resources in a Labview Realtime VI, though RMC socket added under FPGA target name in Project Explorer.

 

c). I wanted to use RMC digital pins as well along with these serial Socketed CLIP perepherals but it seems i won't be able to use both simultaneously. Is it true? For a Custom RMC Card aswell?

 

Kindly please help me urgently as straightforward help not available in this area or i may not have yet come across some clear article explaining this issue.

 

Thanking in anticipation.

 

Aijaz

Thanks


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>