"re-entrant" "file I/O" "QSM_State Machines"

"re-entrant" "file I/O" "QSM_State Machines"

Post by NJG88_T » Wed, 05 Dec 2007 13:40:07


 
 
I have trouble with writing (appending) to text file in a QSM that is in an "occurence mode" of operation whereby the queue waits for outside engueue to go ahead and do a task. The task is simply to write to a file a line of text.
 
Outside producers give the queue its go ahead and data is sent along etc...
 
WHat I am seeing in the logging functions are multiple errors (Error 1)
Somehow Labview is not noticing that the reference is valid or it is invalidating the reference.
 
Q is Should I just let the QSM loop to keep it alive and would that work?
 
What is the rule concerning queue waiting for an event? Does the VI get flagged as idle and is that why the ref appears to be dropped?  THere is no reason I can think of for the ref to be dropped. It is opened in the init frame then kept in a shift register.
and available at each iteration in the QSM.
 
The example works in a simple loop but not a loop that is waiting on an occurence.  Why?
 
The only work around I can manage is to use the path and open the reference when it is not valid which feels kind of  silly if you get my drift
 
Anyone seen this before?
 
Thank You
 
 
 
 
 
 

1. Passing "classtype" as "this" argument of "class member function" disc

2. enable/disable "radio","checkbox","textbox" using checkbox


Hi am trying to control a small form having a main checkbox(using
javascript) - which when checked will enable the other form elements
(like radio button,checkbox, textbox)
By default all the form elements should be disabled (except the main
checkbox)....so when the main checkbox is checked by the user ...all the
other form elements should get enabled.

I am able to control (enable & disable) the textbox elements in the from
but failed to control the radiobutton,checkbox.


here is the script can someone help me in modifying the script so that i
can use it.

<html>
<head>
<title>untitled</title>
</head>
<body>
<form>
<input type="checkbox" onclick="bVal=!this.checked;
email1.disabled=bVal;email2.disabled=bVal;msex.disabled=bVal;mred.disab-
led=bVal;mblue.disabled=bVal;if(!bVal)email1.focus()"> Click the
checkbox and fill the information below<br>
<br> Text boxes <br>
<input type="text" name="email1" disabled="disabled"> email address<br>
<input type="text" name="email2" disabled="disabled"> 2nd email
address <br>
<br> Radio buttons <br>
<input type="radio" name"msex" value="Male" disabled="disabled"> Male
<input type="radio" name"msex" value="Female" disabled="disabled">
Female <br>
<br> Checkboxs <br>
<input type="checkbox" name"mred" value="Red"
disabled="disabled"> Red <br>
<input type="checkbox" name"mblue" value="Blue"
disabled="disabled"> Blue <br>
</form>
</body>
</html>


Posted via http://www.yqcomputer.com/

3. how to connect "IMAQ Get Buffer.vi" output terminal of "Image Out" to the input terminal of "Image" of "IMAQ ColorImageToArray.vi"

4. Can classes "make" controls and indicators "appear" on the front panel.

5. The .NET assembly expected to be at "" was loaded from "NULL"

6. How to convert "hist" to "pdf"?

7. Why do I get "../images/" and "../../images/"

8. Difference between "FP Close" and "FP Hidden"

9. The use of the "XY graph" with the "Read Traces"

10. Why do I get "../images/" and "../../images/"

11. Percentage of "yes" or "no"

12. How to use "GetLastInputInfo" in "user32.dll"

13. Trouble using Real Time "Wait" and "Wait until"

14. Re : what's faster: "i/o assistant" or "basic visa VIs"

15. what's faster: "i/o assistant" or "basic visa VIs"