LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

please help for data saving connection with HP4145b using labVIEW 2011 SP1

Hi Everybody,

 

I have been working on the connection with HP4145b using labview 2011 SP1, and hp4145b.llb control documents, which has have partially connection for sending commands, but when trying Graphics Plot.vi, the error 6 always occurs.

error6.PNG

I have tried the solution here which suggests the adding of time delay function between Send Message block and Receive Message block, where I dont quite understand. I have increased the inside wait function in the block diagram of Graphic Plot.vi from 0 to 4 billion msec in the whole range, but still remain receiving the error.graphicPlot.PNG

The configuration in NIMax and the NI488.2 driver communicator are as follow for your consideration.max.PNG

 

488.2commu.PNG

 

 

REALLY need to make this work. Thank you a lot for help!

 

Regards,

Michael

 

0 Kudos
Message 1 of 7
(2,925 Views)

Hi,

 

         Why do you wait for 5000 secs ? 

0 Kudos
Message 2 of 7
(2,910 Views)

Hi Jay,

 

Thank you for your question. According to the post I followed above, the cause of error 6 may come from the timeout problem, so I tried to increase the waiting time, like 15 msec to much larger numbers, but the result seems to be the same. I think maybe it is helpful to add another delay function which I am not sure how to make it.

Thanks!

 

Michael

0 Kudos
Message 3 of 7
(2,897 Views)

Hi,

 

        Post your vi (LV 15). The Timeout normally has to be increased in the fuction or subVI if you are connected to any H/W. 

0 Kudos
Message 4 of 7
(2,862 Views)

Hi Jay,

I have partially solved the problem by looking into the details within the Graphic Plot.vi where the data is displayed on the screen. Actually the Graphic Plot.vi is calling data output. vi for data and I can see the dataflow in the receiving stage, however, in the final stage, the data is to some reason not transmiited to the plot function.

The multiple delay functions are added in the required subfunctions, I am not sure if the value should be changed to match the plot function since the plot may be activated too quickly before the data arrived?

Thank you!

Michael

0 Kudos
Message 5 of 7
(2,853 Views)

HI,

 

              Well, this is an stacked sequential structure it has to display some values in the graph it cannot skip the last step. The delay may be the array size is too large or your data output is taking too long to get the data from the device. Try debugging again and start with less delay. 5000 secs is really large.

0 Kudos
Message 6 of 7
(2,841 Views)

I have been trying the same ( using Labview 2020 ) and encountering the same problem. did anyone having the working version of the LLB file? I have seen so many posting but none with working version ?

thanks for the attention - hopefully some one will answer?

kannan

0 Kudos
Message 7 of 7
(1,886 Views)