LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to create files with write to measure.vi

Ok,

 

You are getting the Error 74 because the TCP functionality isn't working properly at the moment, basically the TCP is timing out which is causing the Error 74.

 

I'll try and work out why the TCP is connection is failing, that should hopefully solve the problem.

 

Dom

 

PS network comms with cRIO's is in my experience a real b**** to get right first time!

0 Kudos
Message 61 of 77
(770 Views)

I am getting some very wierd behaviour from my cRIO at the moment.

 

So I am really struggling to test the vi I sent you, sorry!

0 Kudos
Message 62 of 77
(767 Views)

Hi Dom, that's ok! Thanks a lot for the help!

0 Kudos
Message 63 of 77
(761 Views)

Hi, If I want to provide only three options (three buttons) of sampling frequency to the users,is radio button a good choice to use?

 

0 Kudos
Message 64 of 77
(758 Views)

Hi Gregor, I have just implemented a radio button control onto the computer.vi to allow for options of different sampling rate. So far its been running smoothly but can you please have a quick check to see if there are rooms for improvement? However, the problem still exists in which the cRIO.vi shuts down by itself at the start. Thanks!

0 Kudos
Message 65 of 77
(749 Views)

The cRIO shutting down may be the result of your "Stop" button being of the wrong type,

 

Right click on your stop buttons, and select one of the "Latch when..." options.

 

Dom

0 Kudos
Message 66 of 77
(737 Views)

Hi Again,

 

I keep forgetting you are controlling it from the PC, it may be that the "Stop" variable has a hangover in the network, or stored on the cRIO.

 

Try putting a case structure around the stop variable, wiring the "i" value into the "?" on the case structure, then changing the case structure so that on the 1st iteration you feed a constant, "F", into the stop control, but for all other values of "i" you feed in the network variable "Stop".

 

Do this on both loops, hopefully this will solve the issue.

 

Let me know.

0 Kudos
Message 67 of 77
(734 Views)

Sorry Dom, I dont really understand your instructions. How can i write an "i" value into the "?" on the case structure? And which stop variable do u want me to put the case structure around? There are three occasions where I have used a stop variable, two in cRIO.vi and one in the computer.vi

 

Is it possible for you to show me a screenshot? thanks!

0 Kudos
Message 68 of 77
(722 Views)

Try this VI.

 

You can wire pretty much anything into the "?", AKA the selector terminal, you just have to define what to do for each possible case.

 

Dom

0 Kudos
Message 69 of 77
(716 Views)

Thanks! But I cant open it coz i am using 2009 lol. Can u please down convert it again?

0 Kudos
Message 70 of 77
(714 Views)