LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1073807253 occurred at VISA Read in transient SR830.vi VISA: (Hex 0xBFFF006B) A framing error occurred during transfer.

Solved!
Go to solution

Now I know, what this "hang" ing is as I mentioned earlier. After I get the timeout error and stop the program and run it again, the CH1 reading takes a very small value in the beginning instead of the actual value and I get a timeout error again which only shows up after the "timeout" amount of time which I have set here as 60,000 ms. 

0 Kudos
Message 11 of 17
(2,904 Views)

Thank you so much. Your suggestions works. Great. There is one more thing hat I want to ask. I made another program to make the c-v hysteresis. There I have the same issues. So, now I change the termination character to \r and have added character input as "13". But, here the program runs under two loops. When I try to put the VISA CLOSE and simple error outside the loop and connect to the VISA resource name and error out (which is inside this second loop nested inside the first loop), the wire shows broken. Can you suggest how I can put the VISA CLOSE outside the loops? also what will happen if I donot use VISA CLOSE? 

Download All
0 Kudos
Message 12 of 17
(2,898 Views)

Here are the rest of the files.

Download All
0 Kudos
Message 13 of 17
(2,897 Views)

I don't see any broken wires in your VI's.  You'd have to give us a screen shot to see what you are talking about.  If you click the broken run arrow, what does it say?

 

You can live without a VISA close.  The serial port will just remain open until you close LabVIEW.  That shouldn't be a problem unless you need to use another application to access the serial port.

 

PS.  You should use the Block Diagram Cleanup Tool to straighten out some of your wires in your block diagram to make it easier to read.

0 Kudos
Message 14 of 17
(2,890 Views)

I attach over here the program with error. Thank you for your suggestions, I have used the clean up diagram to make it less clutter free. The other sub-VI s are already attached. Please suggest me how to remove this error.

 

BLOCK DIAGRAM ERRORS:

 

1. Array element conflict

 

You have connected an array data type to its element data type. This type conflict may be resolved by indexing the array to access individual elements of the array. Check for a tunnel on a loop that has indexing incorrectly enabled.
The type of the source is 2-D array of
cluster of 3 elements.
The type of the sink is cluster of 3 elements.

 

You have connected an array data type to its element data type. This type conflict may be resolved by indexing the array to access individual elements of the array. Check for a tunnel on a loop that has indexing incorrectly enabled.The type of the source is 2-D array ofcluster of 3 elements.The type of the sink is cluster of 3 elements.

 

2. You have connected two terminal sof different types

 

These cannot be wired together because their data types (numeric, string, array, cluster, etc.) do not match. Show the Context Help window to see what data type is required.

The type of the source is 2-D array of

VISA session of class.

The type of the sink is VISA session of class.

 

0 Kudos
Message 15 of 17
(2,882 Views)

The error message tells you the answer.

 

Disable auto-indexing on the tunnels.

Hint: Right click the tunnels.

Message 16 of 17
(2,877 Views)

Thank you for the reply. It worked perfectly.

0 Kudos
Message 17 of 17
(2,864 Views)