This widget could not be displayed.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

serial communication error

Solved!
Go to solution

dear sir

i have developed a program to read and write a data from a controller using labview VISA. Eventhough i have configured the visa. i have the error can anyone explain how to solve this in detail... and the error is

0 Kudos
Message 1 of 10
(5,031 Views)

save your vi after you have made all current values default (edit/make current values default) and post it to the forum as attachment.

You probably made a simple basic error but there are a lot possibilities to choose from.

greetings from the Netherlands
0 Kudos
Message 2 of 10
(5,028 Views)
Solution
Accepted by topic author steps

thank you sir for your kind reply. i have attached my program along with this mail..sir can you tell want is exact in the program

0 Kudos
Message 3 of 10
(5,025 Views)

Hi

You did not save with real values (or at least did not make current values default)

This frontpanel has no filled in values so cannot work.

You probably miss a while loop between init and close so I added this

Furthermore I changed read and write control into pushbuttons.

and added a possibility to clear the read string

greetings from the Netherlands
0 Kudos
Message 4 of 10
(5,011 Views)

even though i set the parameter in the front panel like ( visa name = com1, baud rate=9600, data bit =8, parity=none, stop bit =1, flow control =none.) error is occuring sir..... and one of my friend said you need to declare IDN for serial communication .. i dont have idea about IDN ... whether it is the cause of the error

 

 

 

0 Kudos
Message 5 of 10
(5,008 Views)

sir one more doubt

 

 i did three three different program
in my main front panel i am decided to keep three tab and when i click the first tab in the main front panel, first program should run and the front panel for the particular program have to be displayed and when i chick the second tab second program have to displayed and so on ... i am new to the labview can you tell how to program like this  ....

 

 

wit regards

sathish

0 Kudos
Message 6 of 10
(5,005 Views)

IDN is in some controllers a message to which they react with sending their identification and version.

You did not give any information about your controller so helping is very difficult.

 

I don't understand anything about tabs and programs so please clarify your question.

Did you run my version?

What error occurred?

greetings from the Netherlands
0 Kudos
Message 7 of 10
(5,001 Views)

good morning sir ,

                i am using PIC microcomtroller.i run your program but now also same error occuring .... can you explain what to do .. and the error code and error is given below.

 

1073807330 The specified state of the attribute is not valid, or is not supported as defined by the resource.

 

0 Kudos
Message 8 of 10
(4,986 Views)

one of the parameters you are setting is not accepted.

So try out which one, by switching the debug lamp on and see where the error occurs

greetings from the Netherlands
0 Kudos
Message 9 of 10
(4,978 Views)

Thanks for you help, really apreciated 🙂

0 Kudos
Message 10 of 10
(4,953 Views)