LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Front panel leds copied from one program to another trashed

Solved!
Go to solution
 Hi I have two licensed machines running labview . If I cut and paste a program snippet containing front panel leds from one machine and paste it over to another machine- the leds are almost always missing,or the wrong color or show a dotted line size ridiculously large / wrong when I click on  it with the mouse on the new machine . This is a problem because if I ever want to edit my program at the office and send the update to my user in the field  all the front panel  leds in the program will be trashed once he loads the new vi on his machine. Is there some sort of led library created on the fly that must go along with the program ? Thanks, John
0 Kudos
Message 1 of 9
(3,154 Views)
not sure if i understand your question correctly, but why not just make that portion into a subVI adn then send only the sub vi. 
0 Kudos
Message 2 of 9
(3,143 Views)
Could you attach a screenshot of the good and bad LEDs?
  • How are you cutting&pasting between two machines?
  • How is the clipboard shared between the two machines?
  • Is one instance used via some remote control software (e.g. VNC)?
  • Are both machines running the same version of LabVIEW?
  • What is your LabVIEW version? OS?
  • Are you talking about plain LEDs from the palette or e.g. some customized type def.
0 Kudos
Message 3 of 9
(3,141 Views)
 Because its also an issue when I want to reuse partial -already written code and transfer it to a brand new aplication I am writing. ....Thanks J.    
0 Kudos
Message 4 of 9
(3,138 Views)

Im running V7.1 on both machines-  

 I copy the program off one machine to a thumb drive.......I then copy the  thumb drive sourced  .vi onto  the new machine. When I open the .vi on the new machine the leds are trashed , missing , wrong colors or sizes. The leds on the original program are  made bigger and their colors changed by me ORIGINALLY on the original machine by clicking and dragging the leds border  to a larger size, then I change the on- off colors to red and green then save .  I also put custom text in the center of them.  Whenever I open the original program on the original machine those leds are correctly sized colored etc.  Those variables (custom) color,size arent coming over to the second machine -they are getting hosed somehow is their some sort of a front panel object  definition file regarding the leds  that needs to come over too ?  Thanks J.

0 Kudos
Message 5 of 9
(3,095 Views)
I move stuff that way all the time without problems - even to computers with different OSes. Please answer Altenbach's questions and post a copy of the VI which has the problem along with screeshots, if possible, showing what it looks like on each computer.

Lynn
0 Kudos
Message 6 of 9
(3,091 Views)
Solution
Accepted by topic author New2Labview
OK, so you copy&paste entire (possibly broken) VIs using normal file transfers, then open these an another machine.
 
In adition to the above questions, here are a few more:
  • Are any of your VIs saved maximized and the screen resolution is different between the two machines?
  • Are any objects on your front panel set to scale with the panel?
  • Is the color depth setting different between the two machines?
  • Are you using controls from the system palette and the "windows theme" (e.g. classic vs XP)  is different between the two machines?
0 Kudos
Message 7 of 9
(3,084 Views)

Altenbach I recently had this problem crop up again...YOU ARE THE MAN !!!! It was indeed my display settings properties..... they were slightly different between the two machines I was editing the .vi  on.  I matched up the display properties between the two machines and voila now I can see -edit the front panels properties with no anomolies whatsoever.  THANKS SO MUCH TO ALL WHO HELPED ...I KNOW ITS BEEN AWHILE.......final settings were .... 

Appearance, Windows classic style ,color scheme, Windows standard,font size normal
Display ,Themes,( Windows xp modified)

 

Thanks,  John

0 Kudos
Message 8 of 9
(2,925 Views)

 



Message Edited by New2Labview on 08-06-2008 03:17 PM

Message Edited by New2Labview on 08-06-2008 03:17 PM
0 Kudos
Message 9 of 9
(2,924 Views)