Jump to content

Wim

Members
  • Posts

    65
  • Joined

  • Last visited

Everything posted by Wim

  1. Wim

    System controls

    More extra info: in development UI looks messy because of the bad system controls. But when I build the application, the UI of the exe looks exactly as I want it on a VISTA machine .... I tried the Repair installation ... it took ages ( 2hours) but no result. And an extra: LV help in 8.6 doesn't work either and off course on 8.5 it works
  2. Hi LAVA, A week ago i swicthed my vista machine to win classic theme and back to vista theme. Since then, my system controls look like 'XP' controls in stead of 'VISTA'controls. Can someone help me to restore this ?? Thanks. Wim Some extra info: I have LV 8.5.1 and 8.6 on my machine. 8.5.1 is still ok, it's only in 8.6
  3. Hi, I have the same problem. I have an application developed on a XP system. My system is VISTA 32. When I open the code, string controls get taller (height +4 pixels) and the UI looks horrible. I checked in a XP VMware and there i found that the default font is Tahoma 8. I tried the Appfont key in the LabVIEW.ini but without effect: tried with comma seperator, without ,... The only solution that my boss and I found was changing the vista theme to windows classic. Regards, Wim
  4. All, i have a work arround. ( Thx to my boss ) Now I take a reference to a 'scroll control' in my thread and I write through a prop node val(sgnl) to get a value change event in the facade. However ... info on using user events is appreciated
  5. Hi Lava, I've a problem with my xcontrol and hope you can help me. My X-control is an array combined with a few buttons. I want to use the mouse scroll wheel to scroll through the array. I've made a 'Thread' that runs parallel and generates a user event when the user is scrolling. (Thread: while loop that polls the 'acquire data from device (=mouse)) I even detect if the mouse is on the xcontrol or not (mouse enter, mouse leave events in facade.vi) When i open the FP of my Thread it does what it should be doing. Boolean is true when mouse is on array ... false when it leaves and I get the scroll value from the mouse. But .... I was hoping that LV will run the facade.vi when a user event is generated but it doesn't ... it builds a buffer and when another event is called in the facade, my array starts dancing (buffer of user events) What I do: - create user event in init.vi - register for events: first call of display state change in facade.vi - generate user events in parallel thread (detect scrolling) Sorry but i cannot attach the LV-code because of company policy. I hope my problem is clear and that someone can give me some tips. Thanks in advance. Wim
  6. I agree that 'LabVIEW for Everyone' is a very good book to learn LabVIEW. I borrowed the book from my boss and still have it just to check some things while programming new apps or vi's I passed my CLAD before reading the book. The info on ni.com about certification and example exams are also very usefull. I'm going to take the CLD exam in a few weeks and I'm using ni.com, LabVIEW for Everyone and the knowledge of my boss to study
  7. Congrats ! Maybe you can give me some tips ... I'm planning to do the exam.
  8. When something doesn't work and it has a power button or cord, ... always check them good luck moving your repository
  9. Hi, right click on the folder where you have your code checked out en select relocate in the subversion menu. That should do the trick. Good luck, Wim
  10. Hi, I just installed the tool and I agree that this is very nice. Good work
  11. Hi, on my previous job I had a DELL latitude D830 running vista, LV8.5 and LV 8.6 never had any problems with it. Now I have a Thinkpad SL500 with VISTA and the same LV versions on it ... and it's the same... no problems at all. Cheers, Wim
  12. Hi, I've read that you are using shared variables. I've never used this so can't help you with this one. I used the Datasocket VI's ( the yellow datasocket VI's) to open a reference, then Read/Write to the datasocket TAG and close the ref when closing the program or when I detect an error. Maybe you can try these VI's. Good Luck, Wim
  13. This would be very nice ... It would save me a lot of 'travel' distance between mouse and keyboard Hoping someone will reply to this
  14. As long as you find solutions in your dreams it is ok. I was dreaming about a bug myself and when I came to the point: " Ahaaa, that's it, I have to do ....." i woke up. This happend about 5 times in a row in one night. So i woke up, pretty tired, knowing that there is a solution but not knowing the solution Finally I found my bug on a friday afternoon ... The weekend was awesome
  15. Hi all, I have found a bug in my driver, not related to OPC crashes but it speeds up my reading loop so I no longer need to split up S5 and S7 reading. Looptime is acceptable to put them in one loop. So problem solved ... Greetings.
  16. Hi, I´m having problems accessing an OPC server in 2 parallel loops. I have LabVIEW 7.1 (GOOP inheritence toolkit) and an opc-server (software toolbox TopServer) I made an object oriented driver called ´The communicator´ (what´s in a name ). With it´s methods I can read and write items to S7 and S5 PLC´s. A bit in detail: When creating my communicator object; I create a number of virtual plc´s and a number of S5 subPLc´s if the VPLC is an S5. S5 is a bit special: I use a DLL to communicate and I use the simulation driver of the OPC server to store my send and receive strings for S5 This driver is used in about 50 programs, each program initiates 15-30 Virtual PLC´s and accesses 50-150 TAGS on the server. When i need to communicate with S5 and S7 in 1 program, I made 2 loops because s7 is much faster then S5. With my methods read S5 and Read S7 I acces S5 PLC´s in loop1(looprate 15s) and S7 PLC´s in loop2 (looprate 300msec) Sometimes I see 2 clients popup in my OPC server and then all systems hold. CPU usage only 5% and memory only 300MB of 2Gb. I don´t get errors in the OPC subvi´s while writing or reading. When he systems holds, there are also no errors (I use the LabVIEW OPC subvi´s, the yellow functions) I tried to split up S5 and S7 in seperate communicator objects to get a memory block for S7 communication and one for S5. Result is that I still have 2 OPC clients. When I put everything in 1 loop (so S7 comm. is quite slow) I only have 1 client and no crashes. I think LabVIEW makes an extra client (1 for each loop) and that makes my program crash. is there a way to have only one LabVIEW client and use parallel loops ? At creation of the object I open all OPC connections and store the ref´s in an array. In case of error I close and reopen. At shutdown I close the reference, but i don´t want to shutdown because it is a visualisation and steering of an industrial process that runs continiously. I hope my story and question is clear to you. If you need more info to be able to give me advice please ask, I will check the topic frequently. Thanks in advance. Regards, Wim
  17. it would be nice to add a standard windows network pc in the targets for projects. this way it would be easy to develop and maintain software on a local pc and then deploy it on a network pc like you can do for cRio or other NI devices.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.