LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview DAQ freeze when pc is connected to network

Solved!
Go to solution

The change to the USB power settings seems to be holding up and keeping the machines running. I spend the day rewriting the program, removing all frame sequences, and created as many subVI's as I could. I have a smaller machine that can run the test on command and it all is running good. Wont know how it will do on the automatic test machine until we get the new one up and running and I test it before we put in on the factory floor. I appreciate all the help from everyone here and I am looking forward to continuing the labVIEW learning experience. 

 

I will attach the new program with the removed frame sequences here. 

 

Thank you for your time

Jeff

0 Kudos
Message 11 of 16
(649 Views)

@JÞB wrote:

@MoFiggin wrote:

So the parts I have in the Frame Sequence need to happen in order but most of the stuff has no error in & out. Do I need to convert the frames into subVI's and get rid of the frames?

 

I have been messing around with LabVIEW for a little over a week and I get the left to right structure of things but it seems like everything inside of a frame executes at the same time without the error in and out option. Are you saying I need to get rid of all Frame Sequences? 

 

Thank you for your time

Jeff


Since you are brand new to LabVIEW I'm going to train you right!

 

If you ever start a new vi from a blank vi think twice!

It is much better to start from a template using "File>>New..."

Capture.png

Look at that!  The description even reads "Use this template to build a vi to use as a sub vi."


I don't like that particular template because the error isn't wired through all cases and has a default if unwired tunnel.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 12 of 16
(643 Views)

@JÞB wrote:

You may find the style guide a useful resource to improve your code http://www.ni.com/pdf/manuals/321393d.pdf#labview_style_guide



Thank link still works, but it is from 2003, so a very early version of LabVIEW.  Maybe a few years more recent, and definitely more detailed (and still in print) is Peter Blume's "The LabVIEW Style Book", which I read cover-to-cover three or four times when I first started using LabVIEW.  I've tried to talk Peter into writing a Second Edition (I offered to proofread it), but haven't succeeded yet.

 

Bob Schor

 

0 Kudos
Message 13 of 16
(616 Views)

I spoke too soon, today the error happened again. I don't understand why it will run fine for months without the Ethernet plugged in but will freeze up when you have Ethernet connected.

0 Kudos
Message 14 of 16
(603 Views)

It is time to start monitoring the Ethernet traffic to correlate the traffic that corresponds to the hang.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 15 of 16
(599 Views)

@billko wrote:

@JÞB wrote:

@MoFiggin wrote:

So the parts I have in the Frame Sequence need to happen in order but most of the stuff has no error in & out. Do I need to convert the frames into subVI's and get rid of the frames?

 

I have been messing around with LabVIEW for a little over a week and I get the left to right structure of things but it seems like everything inside of a frame executes at the same time without the error in and out option. Are you saying I need to get rid of all Frame Sequences? 

 

Thank you for your time

Jeff


Since you are brand new to LabVIEW I'm going to train you right!

 

If you ever start a new vi from a blank vi think twice!

It is much better to start from a template using "File>>New..."

Capture.png

Look at that!  The description even reads "Use this template to build a vi to use as a sub vi."


I don't like that particular template because the error isn't wired through all cases and has a default if unwired tunnel.


(I don't use it either but haven't imported "MyTemplates" to 2022 Q3 yet)


"Should be" isn't "Is" -Jay
0 Kudos
Message 16 of 16
(595 Views)