f



"VI was stopped at node " " at a call to "In Port Old 6.x.vi""

Hi. I am having problems with a VI that was initially developed for LABView 6i. I have upgraded to LABView 8.2 but whenever I run the program in LABView 8.2 I get the error message that my VI was stopped at node  " " at a call to "In Port Old 6.x.vi". The VI generally aquires data from a measurement instrument via an RS232 COM port. 
I have searched the forum and the only reference to this problem mentioned that it can be solved by making "minor modifications" to the polymorphic In Port VI in LABView 8.2 but I have no idea how to do this.
 
I would be most grateful if anyone can help me to do this. I am a newbie to LABView programming so I would require as much detail as possible. Thanks.
 
tronix
0
x9561 (148441)
1/15/2008 10:40:07 AM
comp.lang.labview 35213 articles. 1 followers. vasusachin24 (1) is leader. Post Follow

20 Replies
1071 Views

Similar Articles

[PageSpeed] 2

Hello,
 
Have you followed the guidelines found on this document?
 
<a href="http://digital.ni.com/public.nsf/allkb/39129B46944215B686257069006CEC4E?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/allkb/39129B46944215B686257069006CEC4E?OpenDocument</a> 
&nbsp;
Contains information on how to proceed and how you can change the VI's needed to new ones.
&nbsp;
Hopes this helps!
0
x9561 (148441)
1/15/2008 12:10:04 PM
Hello. Thanks for your response. I did see the link. Part of the document says:




tronix wrote:
Hi. I am having problems with&nbsp;a VI&nbsp;that was initially developed for LABView 6i. I have upgraded to LABView 8.2 but whenever I run the program in LABView 8.2 I get the error message that my VI was stopped at node&nbsp; " " at a call to "In Port Old 6.x.vi". The VI generally aquires data from a measurement instrument via an RS232 COM port. 
I have searched the forum and the only reference to this problem mentioned that it can be solved by making "minor modifications" to the polymorphic In Port VI in LABView 8.2 but I have no idea how to do this.
&nbsp;
I would be most grateful if anyone can help me to do this. I am a newbie to LABView programming so I would require as much detail as possible. Thanks.
&nbsp;
tronix


Hello. Thanks for your response. I did see the link. Part of the document says:
"To restore functionality to your program, it will be necessary to replace the placeholders with the current versions of "In Port" and "Out Port" which can be found on the function palette at All Functions� Advanced� Port I/O. Your program will require minor modifications in order to work with the new polymorphic VIs."
&nbsp;
My problem is that I don't know what to do to replace the placeholders and what the "minor modifications" are.
&nbsp;
Regards
0
x9561 (148441)
1/15/2008 12:40:08 PM
To update to the new one, simply right-click on your existing Port IO vi and select replace as shown in the image below.
So&nbsp; Replace &gt; Port I/O Palette &gt; select appropriate port IO vi.
&nbsp;
<img src="http://forums.ni.com/attachments/ni/170/294885/1/changePortIO.PNG"> 
&nbsp;
&nbsp;
I suspect the minor modification refers to selecting the appropriate port configuration (if you're using LV8.x).&nbsp; See 2nd image below. 
&nbsp;
<img src="http://forums.ni.com/attachments/ni/170/294885/2/changePortIO-2.PNG"> Message Edited by JoeLabView on 01-15-2008  07:45 AM


changePortIO.PNG:
http://forums.ni.com/attachments/ni/170/294885/1/changePortIO.PNG


changePortIO-2.PNG:
http://forums.ni.com/attachments/ni/170/294885/2/changePortIO-2.PNG
0
x9561 (148441)
1/15/2008 1:10:05 PM
Thanks JoeLabView. I could not find the exact menus that you showed in your reply. However I did find the find and replace option for VI and did as you instructed, manually changing the three instances of the VI to 16 bit. Unfortunately that generated errors which showed a red cross next to the wiring of the New Port.vi and the message to the effect that the number of words in the new VI was not compatible with the rest of the connectors. I then changed the option to autimatic and still I got the same error. What mistake am I making? Can I send you the program to have a look at it if its not too much trouble for you? Its only 3MB.
Thanks again
0
x9561 (148441)
1/15/2008 2:40:14 PM
You can try posting your vi to this thread.&nbsp; 
At the bottom of the edit window, there is an "Attachment" box.&nbsp; Simply browse and select your vi.
However, before doing so, you could try doing a simple exercise.&nbsp; Look under the Help menu and select "Find Example".&nbsp; 
You should find an example called "Parallel Port Read and Write Loop".&nbsp; I sometimes use that to "test out" the port.&nbsp; It also has instructions on how to configure the BIOS, etc.&nbsp; The important thing is the port address.
0
x9561 (148441)
1/15/2008 4:10:10 PM
tronix wrote:
Any more suggestions friends? I'm getting desperate:smileysad:


Sorry... I just got off the phone and had not clicked submit post..&nbsp; ( glad it did post after ~ 25 min)
&nbsp;
You can attach your vi as mentionned in my last post.
&nbsp;
0
x9561 (148441)
1/15/2008 4:10:10 PM
It appears to be locked..&nbsp; I cannot open the block diagram
<img src="http://forums.ni.com/attachments/ni/170/295003/1/locked.PNG"> Message Edited by JoeLabView on 01-15-2008  12:38 PM


locked.PNG:
http://forums.ni.com/attachments/ni/170/295003/1/locked.PNG
0
x9561 (148441)
1/15/2008 5:40:11 PM
Strange, I don't get a block diagram... using LV8.20
&nbsp;
<img src="http://forums.ni.com/attachments/ni/170/295058/1/noBlockDiagram.PNG"> Message Edited by JoeLabView on 01-15-2008  02:42 PM


noBlockDiagram.PNG:
http://forums.ni.com/attachments/ni/170/295058/1/noBlockDiagram.PNG
0
x9561 (148441)
1/15/2008 8:10:07 PM
Hello. Thanks all for your input. As I mentioned earlier the program was designed for LabVIEW 6.1 and now I am trying to use it on LabVIEW 8.2. I am a newbie to LabVIEW. Acquisition.vi is&nbsp;the VI&nbsp;that gets stopped at a call to " " in In Port 6.x.vi. That is the reason why I uploaded just that part. Do I have to upload the whole application (3.1MB)?&nbsp; I have heard of VISA. Can it be used to solve this problem? There are more than 20 VIs in the whole program. The program acquires data from a measurement instrument and a 20 Hz sonic anemometer.
Any more suggestions/input would be appreciated. Thanks again.
0
x9561 (148441)
1/16/2008 6:10:05 AM
Hi. I inherited the program from someone else who programmed the routines. I have attached the whole program now llb file in zip format. 
Thanks again. 
How do I add to someone's reputation for a good contribution?


EC.zip:
http://forums.ni.com/attachments/ni/170/295180/1/EC.zip
0
x9561 (148441)
1/16/2008 8:10:05 AM
tronix wrote:

How do I add to someone's reputation for a good contribution?


Unfortunately, due to abuse in the past, you now have to wait until you have 50 posts to rate contributions :(
I will have a look at your zipped file.
0
x9561 (148441)
1/16/2008 12:10:07 PM
JoeLabView wrote:



Unfortunately, due to abuse in the past, you now have to wait until you have 50 posts to rate contributions :(
I will have a look at your zipped file.


Thanks a lot.
0
x9561 (148441)
1/16/2008 12:40:07 PM
Good morning,
I looked at your vi.. and I looked at the VI hierarchy.&nbsp; I didn't see any Port IO.&nbsp; Smercurio mentionned the same thing.
Question:&nbsp; Do you connect anything to the parallel port to run this software?&nbsp; 
I do see serial port VI's.&nbsp; Unfortunately, they were not included in the zipped file.&nbsp; Plus, there is no VISA configuration for them.&nbsp;&nbsp; Reading your statement friom the 1st post, it does indicate serial communication.
" I have upgraded to LABView 8.2 but whenever I run the program in LABView 8.2 I get the error message that my VI was stopped at node&nbsp; " " at a call to "In Port Old 6.x.vi". The VI generally aquires data from a measurement instrument via an RS232 COM port. "
Since I could open the VI with LV 7.0, it must be the LV6.1 version that was posted.&nbsp; I will change the missing VI's to serial communication and post it.&nbsp; I no longer have LV6.1 installed, so it will be in LV7.0.&nbsp; If needed, I can also post it in LV8.2.&nbsp; 
Will be back soon.
RayR
0
x9561 (148441)
1/16/2008 12:40:08 PM
Here it is.&nbsp; I changed a couple of things in the code.&nbsp; I took a screen capture as an example.
When you click on the run arrow, it will give you a list of all the items that need to be changed, or that are in error.&nbsp; I wrote some comments where changes were made.
I also moved the serial configuration outside the loop and placed a comment where it originally resided.
Hope this helps.
<img src="http://forums.ni.com/attachments/ni/170/295260/2/_newPGM.PNG"> Message Edited by JoeLabView on 01-16-2008  07:44 AM


EC.zip:
http://forums.ni.com/attachments/ni/170/295260/1/EC.zip


_newPGM.PNG:
http://forums.ni.com/attachments/ni/170/295260/2/_newPGM.PNG
0
x9561 (148441)
1/16/2008 1:10:05 PM
tronix wrote:
&nbsp;If you look carefully at the hierachy you will realize that there is a subVI called In Port. If you hover around it with your mouse you will notice that itsfull name is In Port Old 6.x.vi.


Must be old age ;)&nbsp; I will have a&nbsp;look again...&nbsp; Maybe it is in one of those sub-vi's that were not included in the library..
I'll post the hierarchy...&nbsp;
0
x9561 (148441)
1/16/2008 1:10:05 PM
It didn't find them. 
You're gonna have a lot of work ahead of you to clean up the code and make it LV8.2 pretty ;)&nbsp; There are many old VI's that have changed since... Brings back memories :D
Here is what I see..&nbsp; (Maybe I'll try opening in LV8.2)
<img src="http://forums.ni.com/attachments/ni/170/295262/1/_notFound.PNG"> 
&nbsp;
In the meantime, try what I posted with the modded vi..Message Edited by JoeLabView on 01-16-2008  07:55 AM


_notFound.PNG:
http://forums.ni.com/attachments/ni/170/295262/1/_notFound.PNG
0
x9561 (148441)
1/16/2008 1:10:06 PM
JoeLabView wrote:


It didn't find them. 
You're gonna have a lot of work ahead of you to clean up the code and make it LV8.2 pretty ;)&nbsp; There are many old VI's that have changed since... Brings back memories :D
Here is what I see..&nbsp; (Maybe I'll try opening in LV8.2)
<img src="http://forums.ni.com/attachments/ni/170/295262/1/_notFound.PNG"> 
&nbsp;
In the meantime, try what I posted with the modded vi..Message Edited by JoeLabView on 01-16-2008  07:55 AM


Sorry I didn't mention that LabVIEW only complains about In Port 6 Old.vi in LV8.2 and not in 6i.&nbsp;Even LV8.2 searches for those VIs and eventually finds them. For now I&nbsp;will try the changes that you made. Thanks
0
x9561 (148441)
1/16/2008 1:10:07 PM
I tried to run the program with your changes Joe. Some subVIs could run on their own but the main program would not run. I was not able to solve the error in the main VI. I have attached an image of part of the flow diagram. From your experience as a LabVIEW veteran which is the wiser decision: trying to change the code to LabVIEW 8.2 or starting everything from scratch in LabVIEW 8.2? Thanks for all your input and your time.
&nbsp;
&nbsp;


EC.jpg:
http://forums.ni.com/attachments/ni/170/295349/1/EC.jpg
0
x9561 (148441)
1/16/2008 4:40:08 PM
You do realize that I did not change all the serial communication sub-vi's... so most likely, you could run it although it is a VI in transition.. ;)
You would need to complete what I started..&nbsp; Look at the image I posted earlier as an example.
&nbsp;




From your experience as a LabVIEW veteran which is the wiser decision: trying to change the code to LabVIEW 8.2 or starting everything from scratch in LabVIEW 8.2? Thanks for all your input and your time.


That's a good question..&nbsp; There's no easy answer...
&nbsp;
Things to consider:&nbsp; 
&nbsp;
1.&nbsp; how soon do they need this sw to be running?
2.&nbsp; will this sw evolve? will this sw have additional features?
3.&nbsp; will this software require maintenance in the future?
&nbsp;
If 1 is immediate, then focus on getting this version running.
If you say yes to items 2 &amp; 3, then you should consider desinging the sw and possibly coding from scratch.&nbsp; I have demonstrated that coding from scratch using a good coding method is much fatser than patching old code.&nbsp; Just the time it takes to figure it out is half the coding exercise... but that's for me..&nbsp; ;)
&nbsp;
0
x9561 (148441)
1/16/2008 5:10:06 PM
JoeLabView wrote:

Start with a paper design.&nbsp; Define what the sw is supposed to do, how is does it, constraints, etc.
Also look at Event Structures and State Machines.&nbsp; There are templates of these when you select from the menu File &gt; New.&nbsp; 
Event structures make life so much easier.&nbsp; There was a presentation on this stuff today.&nbsp; If I get a link to the presentation I will post it here(if allowed).
Continue to post questions on this project in this thread.&nbsp; Specific issues can go to a new thread, but it's good to see where you started from and where you're going to.&nbsp; That way people can provide better suggestions.
RayR


Good morning RayR. I would definitely appreciate it if you are able to post the link. I am now working on the paper design and will keep everyone on the forum posted.
&nbsp;
Regards
&nbsp;
tronix
0
x9561 (148441)
1/17/2008 10:10:11 AM
Reply:

Similar Artilces:

VI &quot;FindInstrumentDrivers.vi&quot; was stopped at node &quot;&quot; at a call to &quot;IDF_WsIdOpen.vi&quot;
This what I get trying to download Instrument Drivers in LabVIEW 8.2. LabVIEW 8.6 doesn't succeed either. any ideas? Could just be an intermittent server problem. Does this happen all the time? At what point does it fail? When you first launch it, after you login? The network traffic indicates that it uses port 3339. Is this being blocked by your firewall? ...

how to connect &quot;IMAQ Get Buffer.vi&quot; output terminal of &quot;Image Out&quot; to the input terminal of &quot;Image&quot; of &quot;IMAQ ColorImageToArray.vi&quot;
Hi, Thanks a lot for helping me till this stage.I am again stuck up with some problem.Please help me this time also. Actually i am making changes in already existingblock diagram and also i am new to this labview programming.And also time is very crucial. So i want to know if there is any way to connect the output of Image out terminal of IMAQ Get Buffer.vi to the input terminal of Image of IMAQ ColorImageToArray.vi. In the actual block diagram the output of Image out terminal of IMAQ GetBuffer.vi is connected to the input terminal of Image of IMAQ ImageToArray.vi. I want to change this becos i want to take RGB image as input and seperate R, G, B components. Please explain in terms of bloack diagram. ...

&quot;re-entrant&quot; &quot;file I/O&quot; &quot;QSM_State Machines&quot;
&nbsp; &nbsp; 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. &nbsp; Outside producers give the queue its go ahead and data is sent along etc... &nbsp; WHat I am seeing in the logging functions are multiple errors (Error 1) Somehow Labview&nbsp;is not noticing that the reference is valid or it is invalidating the reference. &nbsp; Q is Should I just let the QSM loop to keep it alive and would that work? &nbsp; 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?&nbsp; 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. &nbsp; The example works in a simple loop but not a loop that is waiting on an occurence.&nbsp; Why? &nbsp; 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&nbsp; silly if you get my drift &nbsp; Anyone seen this before? &nbsp; Thank You &nbsp; &nbsp; &nbsp; ...

An exception occured within the external code called by a Call Library Node.... was stopped at node &quot;&quot; at a call to &quot;IMAQ RejectBorder&quot;
Hi, I get occasionnaly this message when running an executable which has been installed from the same machine: &nbsp; LabVIEW: An exception occurred within the external code called by a Call Library Node. This might have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW. VI "1629-00_200-Main.vi" was stopped at node&nbsp;"" of subVI "IMAQ RejectBorder" &nbsp; It is really anoying because the executable can run without any poblems for many hours and then the message comes and can crash the application &nbsp; Any advice? &nbsp; Version: LV 8.2 IMAQ Vision 8.2 &nbsp; Rodolphe Naoux ...

How do I disable the Dialog Box Pop Up when using the &quot;Open/Create/Replace File&quot; VI?
I would simply like to write data in real-time to a file without the operator being prompted by a Dialog Box. Please see attachment for the code I used. &nbsp; Thank you! LabVIEW_Write To File Code.doc: http://forums.ni.com/attachments/ni/170/243833/1/LabVIEW_Write To File Code.doc Try putting the entire path including the file name (and not just the folder) as a path constant (and not use the string to path function) to the file path input. &nbsp; <img src="http://forums.ni.com/attachments/ni/170/243916/1/Open_Create_Replace.PNG"> Message Edited by Dennis Knutson on 04-25-2007 01:37 PM Open_Create_Replace.PNG: http://forums.ni.com/attachments/ni/170/243916/1/Open_Create_Replace.PNG Dennis Knutson wrote: Try putting the entire path including the file name (and not just the folder) as a path constant (and not use the string to path function) to the file path input. Dennis, Good lesson for me ! :smileyhappy: I m also not familiar with this thing of putting the entire path of a file, even if I wire a False to the Advisory Dialog inout. I thought that it is the maximum feasibility in LV. You opened my eyes &amp; brain. :smileywink: ...

Programmatic &quot;undo&quot; for &quot;FitControlToPane&quot; ?
Howdy neighbors!, (using LV8.2)&nbsp; I'm trying to develop a GUI that lets the user toggle a Tab-control between "Full Pane" and a&nbsp;reduced size/position - sorta-like&nbsp;the "Full Screen" option on many Video apps.&nbsp; The effect of the&nbsp;invoke-node method "FitControlToPane" is perfect (- :smileyhappy: -), but how to undo that effect?&nbsp; After&nbsp;FitControlToPane,&nbsp;"Scale Object with Pane" is selected in the IDE, yet I can't find a "property" for it. :smileysad:&nbsp; FitControlToPane also changes the visibility of vertical and horizontal scroll-bars - are these [VI Properties] programmatically settable? &nbsp; Cheers! &nbsp; &nbsp; &nbsp; follow up... FitControlToPane also changes the visibility of vertical and horizontal scroll-bars - are these [VI Properties] programmatically settable? Feel kinda silly now, having advised someone else to search LabVIEW's HELP first! :smileytongue: &nbsp;- found Scrollbar Visibility can be set via (LV8.2)\ VI \Panel(reference)\Panes[0].HorizScrollbarVisibility. <img src="http://forums.ni.com/attachments/ni/170/239318/1/ScrollBar.JPG"> Still hunting for an&nbsp;elusive "Set Scaling Mode" method... (The&nbsp;Tab Control's&nbsp;"AutoGrow?" property doesn't seem to do anything!?)Message Edited by tbd on 04-03-2007 12:56 AM ScrollBar.JPG: ht...

How to change &quot;ASRL2:... &quot; to &quot;COM1&quot;?
Dear All, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have used com port in my vi. And When I run it in edit mode,&nbsp;the selection of com displays "COM1,COM2,LTP1". &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; But when I build it, and run it in another PC, it displays "ASRL2:...". &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; How can I modify my vi to make it display COM1... in another PC? &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; And If I only want to display all serial port such as COM1,...

How can I connect &quot;Get Date/Time String.vi&quot; to &quot;Write To Spreadsheet File.vi&quot; ?
How can I connect "Get Date/Time String.vi" to "Write To Spreadsheet File.vi" ?&nbsp; I want to write 05/06/2008 to spreadsheet for example. I tried many conversions in vain. I am using LabVIEW 8.0 now. Trying to fit a square into a circle? That VI uses a 1D/2D array of numbers, so why are you trying to feed a date?I suppose you can do this:<img src="http://forums.ni.com/attachments/ni/170/321560/1/Example_VI_BD4.png"> If that actually means anything.Message Edited by smercurio_fc on 05-06-2008 05:15 PM Example_VI_BD4.png: http://forums.ni.com/attachments/ni/170/321560/1/Example_VI_BD4.png I want to store not only data of measurement system, but also date, time, commment, etc to one excel file. Thank you for your advice. I tried what you propose, but it did not work. I attached the image of the error message. Error Message.PNG: http://forums.ni.com/attachments/ni/170/321567/1/Error Message.PNG Hi Pikaichi, right click on the "Write To Spreadsheet File.vi" select, select type -&gt; "string" or "automatic". :smileyhappy: Mike Hi Mike Thank you for your advice but no function of selecting "string" or "automatic" on LabVIEW 8.0. I found that no problem connecting two vis on other PC installed LabVIEW 8.2. So I installed LabVIEW 8.2 on my PC, too, and now have no problem connecting these two vis. Thank you. &nbsp; The ability to adapt the Write to Spreadsheet File function...

'&&&&a'="&&&&a."
I need a data step that is equivalent to data _NULL_; file print; put '&&&&&&a=' "&&&&&&a"; run; Yet the number of & is a variable, I need to write a Macro, so far I got only half of the code('&&&&&&a.='), I don't know how to put the other half ("&&&&&&a.") into Macro Thanks. %Macro R(k); data _NULL_; file print; put %do i= 1 %to &k.; '&' %end; 'a=' ; run; %mend; %R(10); ==================================================...

Problems with "&amp;" changing to "&"
A lot of Firefox users I know, says they have problems with validation where the ampersand sign has to be written as &amp; to be valid. I don't have Firefox my self and don't wont to install it only because of this, so I hope some of you gurus can enlighten me with this :) In what circumstances can the "&amp;" in the source code be involuntary changed to "&" by a browser when or other software, when editing and uploading the file to the web server? E.g. writing a string like "sc_project=402887&amp;java=0&amp;security" is cha...

How to use &quot;GetLastInputInfo&quot; in &quot;user32.dll&quot;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hi, &nbsp; I need to logout user if he doesn't make action during 5 minutes, "GetLastInputInfo" method in the "user32.dll" library, return the tick of the last action, so I can&nbsp;know the inactivity time of the login user. &nbsp; But I try to using "Call Dll function" item in Labview 8.1, and each time I run VI, Labview crash. &nbsp; Next, is information about the method : &nbsp; DLL###############################User32.dll &nbsp; Syntax###############################BOOL GetLastInputInfo(PLASTINPUTINFO plii); &nbsp; Parameters###############################plii : [out] Pointer to a LASTINPUTINFO structure that receives the time of the last input event. Private Type LASTINPUTINFO &nbsp;&nbsp;&nbsp; cbSize As Long &nbsp;&nbsp;&nbsp; dwTime As Long End Type Return Value###############################If the function succeeds, the return value is nonzero.If the function fails, the return value is zero. &nbsp; Remarks###############################This function is useful for input idle detection. However, GetLastInputInfo does not provide system-wide user input information across all running sessions. Rather, GetLastInputInfo provides session-specific user input information for only the session that invoked the function. &nbsp; You can see also my VI source. &nbsp; GetLastInputInfo.vi: http://forums.ni.com/attachments/ni/170/31...

Adding an &quot;IMAQ Image.ctl&quot; to the &quot;Display State.ctl&quot; of an XControl prevents LabVIEW from creating a probe of &quot;Display State.ctl&quot;
I am working on an extended IMAQ Display control using LabVIEWs XControl capabilities. &nbsp; I need a copy of the original image passed to add some overlays which must not affect the original image. To achieve this I am creating a backup image in the "Init.vi" and deleting it in the "Uninit.vi". I am storing the reference&nbsp;of this image&nbsp;in the "Display State.ctl" which is part of every XControl. &nbsp; As soon as I am adding an "IMAQ Image.ctl" to the Display State cluster, it is no longer possible to generate a probe of the Display State cluster for debugging purposses. I am always getting the message: "Failed to load or create probe." Deleting the "IMAQ Image.ctl" from the cluster makes the probe working again. &nbsp; Is it a bug or am I doing something wrong? &nbsp; I am working with LabVIEW 8.5 and Vision 8.5. &nbsp; Regards &nbsp; Ingo Bartsch Hello Mr. Bartsch, is it possible for you to post a small example to reproduce the behaviour? It would be helpful to get a description in which way you use the typedef files. I found a example/knowledge base where some informations were included to XControl and LV but not with Vision. <a href="http://digital.ni.com/public.nsf/allkb/1DC1ADD2A136DA298625712C00635758?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/allkb/1DC1ADD2A136DA298625712C00635758?OpenDocument</a> Best wishes Ja...

Installer &quot;Source file settings&quot;, &quot;VI Settings&quot; problem in 8.2
I have just upgraded from LabVIEW 8.0 to 8.2 and it seems the Installer "Source file settings", "VI Settings" check boxes no longer have any affect on the built application. &nbsp; For example, if I un-check the "Show Menu Bar" boxes for my Main.vi and build, when I run the built application the Main.vi Menu Bar is visible. &nbsp; It seemed to work as expected with 8.0 though. &nbsp; Any help and suggestions are much appreciated. &nbsp; Aaron Hi Seamus, Thanks for that and I look forward to hearing from you again Aaron ...

what the difference between &quot;Wait Until Next ms Multiple&quot; and &quot;wait&quot; vi's ?
Hi all. &nbsp; 1) What the difference between "Wait Until Next ms Multiple" and&nbsp; "wait"&nbsp;&nbsp; vi's ? 2) If i put thos vi's inside state machine, for example, inside state number 3, when the program reach to this state, the delay will ganerate&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; before or after the execution of other component in this state&nbsp; ? &nbsp; &nbsp; thanks :) Both will start in parallel to all the other nodes in the same frame but they still have different finctionality.&nbsp;You cannot guarantee&nbsp;what starts first.&nbsp;The main differences show up if you have other slow tasks in other frames of the same state or the slow task starts before the wait. &nbsp; Wait next ms multiple: This is only useful in a loop, because it tries to keep the same time frequency, irrespective of how long other nodes take. The first call might be way off. &nbsp; Analogy: Do something always 10 minutes after the hour. (If you start working on the hour, the first wait will only take 10 minutes, but then all further tasks will be spaced exactly one hour.) &nbsp; Wait(ms) Wait a give amount of time before continuing. &nbsp; Analogy: do something, take a 1 hour break, do something, take another 1 hour break, etc. The repetition rate will somewhat depend on the lenght it takes to do the other tasks. &nbsp; Here's a nice write-up by NI: &nbsp; <a href="htt...

Problem mit Express VI &quot;Diadem report&quot; bzw. &quot;Messwerte in Datei schreiben&quot;
Hallo Zusammen! &nbsp; Habe ein Problem mit dem Express VI&nbsp; "Diadem report"&nbsp;&nbsp;bzw. "Messwerte in Datei schreiben" &nbsp; Mein Express VI befindet sich innerhalb einer While-Schleife, wo auch meine Messdaten (Regler mit Regelstrecke) generiertwerden. Folglich werden die "einzelnen" Abtastwerte der Regelung st�ndig in eine neue Datei geschrieben (somit erh�lt man quasi f�r jede Messung hunderte von Dateien bzw. einzelne Graphen pro abgetasteten Wert).Habe auch versucht das Express VI ausserhalb der Schleife zu platzieren, was nat�rlich auch nicht geht, da so nur ein Punkt gespeichert wird (da es ja nur einmal aufgerufen wird). Wie kann ich nur einen Report bzw. Datei f�r eine Messung erstellen...was mache ich falsch?? Brauche dringend eure Hilfe&nbsp; (LabView v8.2)Gru� Stonei Regelung mit PID Regler 51.vi: http://forums.ni.com/attachments/ni/170/303082/1/Regelung mit PID Regler 51.vi Danke f�r die schnelle Antwort! &nbsp; Hier mal ein&nbsp;jpg meines Programms vielleicht hilft es dir weiter?! &nbsp; Im normalen Programmablauf soll die While-Schleife eigentlich nie beendet werden, da es ja eine kontinuierliche Regelung ist. Ich w�rde gerne �ber einen boolschen Wert die Aufnahme der Daten starten und �ber einen zweiten boolschen Wert auch wieder beenden (w�hrend die Regelung l�uft), anschliessend soll ein Report der aufgenommenen Daten in Diadem erzeugt werden. &nbsp; Stecke leider noch in den...

The .NET assembly expected to be at &quot;&quot; was loaded from &quot;NULL&quot;
Hello, &nbsp; I use NET Components in a LabVIEW 8.2.1. VI and all work very fine. Now I convert it to LabVIEW 8.5 and I always get a warning, when open it. The Warning is : &nbsp;The .NET assembly expected to be at "" was loaded from "NULL". As example I add my CallbackVI in the Attachment. If somebody has an idea to remove this warning I would be thankful. &nbsp; Thanks in advance TE_NET_ToolStrip.ClickCallback.vi: http://forums.ni.com/attachments/ni/170/304243/1/TE_NET_ToolStrip.ClickCallback.vi Oh I was glad to early. The problem was only solved one time. When I changed something and saved again, I had again the troubles. &nbsp; I will recreate the VIs now. I already done, but it didn't helped. Now I read, that old one should be closed. ...

Difference between &quot;FP Close&quot; and &quot;FP Hidden&quot;
What is the difference between "Front Panel Close" and "Front Panel Hidden" ? "FP Close" works similar to "FP Hidden" at programming mode but not at the executable ! Is this normal ? At the executable "FP Close" seems to terminate the current vi. One more question: "FP Close" prevents the code that follows from been executed. It is a "violent" way to stop your current vi, but not the whole application. Am i right ? To add one additional thing: I made some tests now on how the Close/Hide differs for SubVIs, and saw no difference. So regardless of hiding or closing the FP of a SubVI, the execution of the VI keeps going on until either the VI is stopped or the MainVI gets unloaded.Attached you can find my test: Sub.VI is the Vi called by closeFP.VI using VI-Server. You can toggle several functions of the Sub, but please note that Sub does not get unloaded until closeFP is stopped.Norbert closeFP.vi: http://forums.ni.com/attachments/ni/170/299668/1/closeFP.vi sub.vi: http://forums.ni.com/attachments/ni/170/299668/2/sub.vi ...

The use of the &quot;XY graph&quot; with the &quot;Read Traces&quot;
Hi, I'm trying to plot on "XY Graph"&nbsp; some informations wich are taken directly from the "Read Traces", and the problem is that the Start timestamp wich i enter to the "Read Traces" don't correspond to the beginning of the X axeof the graph. Can some one help me please. Question pour le forum NI.doc: http://forums.ni.com/attachments/ni/170/334716/1/Question pour le forum NI.doc Hi basile Have you found an issue about your problem? Could you attach you code(.vi) please? Thanks. Regards. Hi&nbsp;&nbsp; R_DUVALThank you for your help but I found the solution to my problem.Best Regards ...

plug-in &quot;not installed&quot; in my LabVIEW project's &quot;Build Specifications&quot;
I moved my LabVIEW project from one computer to another, now when I click on any item under the project's "Build Specifications", I get an error reading "The plug-in for the selected item is not installed on your system." Does anybody know how to fix this? I have no idea what this "plug-in" is.Attached is a screenshot. plug-in error.PNG: http://forums.ni.com/attachments/ni/170/222664/1/plug-in error.PNG ...

Race Condition: &quot;Elapsed Time&quot; and &quot;Boolean Crossing&quot;
Hello. We are experiencing a pretty strange issue here and we are not sure how to solve it. The attached VI's are a simplified version of the code, but that exhibits the same behavior: The MAIN vi controls a boolean that is an input of the SUB vi. The SUB vi analyzes this boolean, and if its state is different than the last one read, a timer is reset. While the required time (2 sec) has NOT elapsed, the SUB vi outputs the last remembered value after the time has elapsed, the SUB vi finally outputs the new value. Now, the problem appears when depending on how we change the input boolean (for instance, if you change its state as soon as the "elapsed time pulse" is generated), the new value is NEVER sent to the SUB vi's output. In other words, depending on the moment the input is changed, the SUB vi doesn't get the change and never resets the timer. How can we solve this issue? Is there any special configuration that needs to be done in the used functions? Thank you very much for all help. Daniel ...

How to define &quot;byte stream type&quot; for &quot;open file&quot;?
Hello, I created some numbers (type "double") in Matlab and stored in a file. What value should I use to specify the "byte stream type" for "open file" in Labview? Should I put something like "DBL" or "I32". I don't know where to find the list of legal "types" in Labiew help. Thanks so much! Felicia Looks like 7.1:<img src="http://forums.ni.com/attachments/ni/170/347924/1/read%20file%207.png"> The Matlab "double" is 64 bits (8 bytes). It doesn't make much sense to use an integer datatype to read a floating point value, so you would use DBL in LabVIEW. The numeric data types table can be found <a href="http://zone.ni.com/reference/en-XX/help/lv/71/lvhelp/Numeric_Data_Types_Table/" target="_blank">here</a>. By the way, this assumes you saved the file as raw binary, as opposed to a .mat file, which is something different. Message Edited by smercurio_fc on 08-08-2008 11:21 AM read file 7.png: http://forums.ni.com/attachments/ni/170/347924/1/read file 7.png Thank both of you! I'm using Labview 6.1 base "Read File", just like the picture above. I've specified the byte stream type as DBL; however, the output is an array of string. What should I do with the string? I've tried to use "Decimal String To Number" but I got an output of "0". I've also tried the "Read From SGL File" in Labivew and ...

Unconfigured, Bad Status &quot;A&quot;, Bad Status &quot;B&quot;
Greeting All. I recently upgraded to LabVIEW 8.5.1, including LabVIEW-RT.My application acquires data from an AI-110 -- Compact FP module.Anyhow, to make a long story short, my program started to malfunction.[After lots of pain and suffering,] I learned that the call fo FP Read produces the error:Unconfigured, Bad Status "A", Bad Status "B"The error is frequent, and I cannot help to think that it is considerably diminishing the performance of all other tasks.Any Ideas? Can you post your code?&nbsp; RayR&nbsp; Certainly. Attached, you'll find a VI that resembles my worker-VI - which I use in my project.I run this VI inside of a state machine.&nbsp; It is initialized at the onset of execution.Thereafter, it is called upon [to read data] at 2Hz.The session is closed at the end.Thanks. ai110.vi: http://forums.ni.com/attachments/ni/170/328071/1/ai110.vi ...

Acqiuring data in &quot;Idle&quot; case and &quot;Go&quot; case
See SM Tester Bill 8-16-07 in the attached llb. &nbsp; On the block diagram, upper while loop, case "Idle" I have a Daq&nbsp;sub vi that displays the value on the front panel in a cluster on the front panel. (Works great) This allows the user to see the readings of the devices when they are mounting the pecimen under test.&nbsp; &nbsp; Next, I want to use the same Daq sub vi to display the data (to the same cluster on the fromt panel)&nbsp;&nbsp;for the&nbsp;"Go" case. In addition, I want the data collected in the "Go" case to be saved to a file. The intent is to collect the data as the motor moves. &nbsp; If I place my Daq sub vi in the "Go" case the data isn't collected because the "SM Move" vi then runs.&nbsp; If I place the Daq sub vi in the "SM Move" vi, the cluster appears on the front panel of the "SM Move" vi, not the main panel.&nbsp; &nbsp; Can someone suggest some good programming practices? &nbsp; Thanks, &nbsp; Bill SmartMotor.llb: http://forums.ni.com/attachments/ni/170/265911/1/SmartMotor.llb Hi Bill, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I looked at your code (there are a few missing&nbsp;"SER"ial-port related VI, nothing serious)&nbsp;and have a question before suggesting a solution:&nbsp; I want the data collected in the "Go" case to be saved to a file. The intent is to collect th...

&quot;Save measurement to file&quot;-VI doesn't obey the &quot;Use next avaible file name&quot; setting
I'm using this express VI to store data. In it's properties, there's the "If a file already exists: Use next avaible file name" radio box which does not work. Instead, it appends everything to the one file it created on the first run. My VI has a while-loop with an embedded flat sequence with the writing-VI being in the last frame of the flat sequence. LV 8.5, Linux Hi There. Could You make a screendump of Your VI? I tried using the Express VI on both LV7 Express (Base,Win), and LV8.5 (Base, Win) , and it works perfectly.... &nbsp; I've attached my VI. Currently, the save-VI gets it's file name from some other VIs, but I do that because it doesn't work otherwise. When I clear the "Filename"-input, it starts appending. Messapplikation ganz anders.vi: http://forums.ni.com/attachments/ni/170/313764/1/Messapplikation ganz anders.vi Hi ReBoot I think i've found the Source of Error......When You generate the filepath You use a Concatenate strings with a Constant stating "Files/file" the problem her is the "/". It might be that it should be a Backslash "\"...... Try it.... Best Regards BCL &nbsp; No no, everything's fine as it is. The problem starts when I remove the Filename-input from the Save-VI. Then the Save-VI refuses to take the next avaible file name. However, I'd like to be able to remove all this filename-code and let the Save-VI handle all the file naming. Hi ReBoot, how...

Web resources about - &quot;VI was stopped at node &quot; &quot; at a call to &quot;In Port Old 6.x.vi&quot;&quot; - comp.lang.labview

Resources last updated: 3/19/2016 12:20:58 PM