Jump to content

Thang Nguyen

Members
  • Content Count

    268
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Thang Nguyen

  1. Hi, After having CLD and working for a time, I am thinking about going to next level with CLA. Cause this is kind of essay test so I know that my working experience is not enough. I would like to know which material I should read or is there any good resource I should reference to? Best regards, Thang Nguyen
  2. I guess your solution is a good way to solve this problem. I can use two string controls then convert their value to number. As I understand, the value is only updated when there is another mouse click event.
  3. Hi, I have an issue with control panel which I still cannot find a reasonable way to solve it. I have two number controls which allow user to input value. These controls can only be updated when after inputting the value you click somewhere else or click on "OK" button. The issue is after inputting the value, user will hit enter key, then the last nummeric control will not be updated. If you have experience with this please tell me how to solve this problem. Thank you so much, Thang Nguyen
  4. Hi, I don't sure if Window allows two software programs write to the same TCP/IP port at the same time or not, but currently my system has two programs (1 LabView and 1 C#) having to write data to the same device by a same port. I would like to know which VI I should use to check if that TCP/IP port is busy or not and how I should do to wait on that port. Best regards, Thang Nguyen
  5. QUOTE (normandinf @ Nov 10 2008, 11:26 PM) Thank you so much for your example. It helps me a lot. :thumbup:
  6. Kirit, I don't really sure what you mean when you say you can acquire data from thermocouple. Did you have a device to get the data from the thermocouple yet? You need to use a device to get data from thermocouple such as compact FieldPoint (not too fast <200 samples/sec)or compact DAQ (> 200 samples/sec). Then depending on the device you use, there is specific VI as well as specifi method to read the value in. From that point you just store data like a floating point value. To write data into the file such as Excel file I usually use the .csv file which can open with Excel. To write da
  7. Hi, I am trying to create a steering wheel from a knob but I still not have any luck. I did make the value from 0 to 360 and the value is spreaded around the circle already. But I have problem with the moving part of the control. The only moving part is the needle but looks like I cannot replace it. Do you have any suggestion for this one? This part is really important with the GUI of my project. I highly appreciate your helps.
  8. Paul, Thank you for your answer. I guess I did something simular which is a class with a private thread created by a dynamic call VI. This VI has a state machine which the state is designed base on the input data. This class is a call by reference and the data communication is implemented by a queue name. What I wonder is the state machine itself will affect to the real time requirement. I just worry about the performance of this pattern. I did use this pattern in a data acquisition system and when the rate requirement is high, the performance of this pattern will be limited. Best regards,
  9. QUOTE (Paul_at_Lowell @ Nov 3 2008, 02:54 PM) Paul, Could you please tell me more detail about the State Pattern? Could you provide me any example of it? Best regards, Thang
  10. Hi, Could anyone please give me an example of a OOP template with dynamic process? I created one but I don't think that it is good enough. It has a queue to send data to the dynamic VI which is a private function of the object. This dynamic VI have a state machine and a dequeue VI in the default state to get data which include a command message. Depending on the command message it will drive the state machine to the correspondent state or just waiting at the default state. The issue is the time frame is not fashion in this VI. It based on the command and the data. What I want is the dynamic V
  11. QUOTE (Phil Duncan @ Oct 30 2008, 11:42 PM) LOL, it's cool. I am using two picture control now. Thanks.
  12. QUOTE (jdunham @ Oct 28 2008, 01:21 PM) The dynamic VI is actually a Map with an image of vehicle which the position is updated continously from the Main VI. The user can interact with this VI also. That is the reason why I need to use the event structure as well as receive the data continously from another VI.
  13. QUOTE (Paul_at_Lowell @ Oct 28 2008, 01:08 PM) Yeah, I did work with DSC before. But we don't want to buy it. Just use fundamental features of LabVIEW.
  14. How do you think about my event structure with the solution of using register node? Is it fine?
  15. QUOTE (neB @ Oct 28 2008, 11:29 AM) With the queue I have to wait for the time out to dequeue. In my dynamic VI B, I have an event structure. It maybe affect to each other. It will be the same with notifier. Maybe I don't know how manage them well.
  16. Hi, In my project I have one Main VI called A, and a dynamic VI called B. To pass data continously from A to B I use set variant control value node. To generate event from A to B, I send a reference of a boolean and use the register event node connect to event dynamic registration in B and set the value(signal) in A. To generate event from B to A, I also send a reference of a boolean and use the register event node connect to event dynamic registration in A and set the value(signal) in B. Do you think I did right or not? Is there any better way? Thanks,
  17. QUOTE (Aristos Queue @ Aug 18 2007, 01:58 AM) Hi, Is there anyone discovered the format of the string pattern or the array pattern of this picture string? I can recover the picture from the string but I failed to recover the picture with a modified string. Thanks
  18. QUOTE (Minh Pham @ Oct 27 2008, 06:39 PM) @ Minh: Thank you for your recommendation. What I am talking about is the picture of the vehicle is drawn in the same picture frame with the map. I did talk about that I am using a pixel. But I think it's a good idea to use 2 picture controls. I just wonder if I put the second picture control overlap the 1st picture control and using the transparent color, I don't know if I can still catch the event with the 1st picture control or not. I will try with it. About the OOP, I also had some experience with them. I used GOOP Developer of SciWare and LVOO
  19. Hi, I am trying to simulate a vehicle moving on a map. In this project I use picture frame to draw the map and the vehicle. What I want is the position of the vehicle is updated and redrawn continuously without redrawing the whole map. Currently my vehicle is just a point. I would like to know if there is anyway I can erase the old point and draw a new point without redraw a whole picture? For furture extension, is there anyway I can do that with an object like a circle or a rectangle? Thanks,
  20. QUOTE (raymyster @ Oct 17 2008, 12:59 PM) I guess you are talking about the DSC controls, aren't you?
  21. QUOTE (robijn @ May 14 2008, 09:29 AM) Hi, I did take a look in the example with the Joystick. Beside the buttons, could you please tell me how we can get the data of the potentionmeter? Best regards, Thang Nguyen
  22. QUOTE (neB @ Jul 17 2008, 06:00 PM) I think about storing the values in a shift register and compare with new value to find out which one is a change value one.
  23. QUOTE (neB @ Jul 17 2008, 01:37 PM) There is not this property. I tried to use the front panel data binding, but these shared variable control didn't generate the event when they are changed value through the modbus. I stuck T_T
  24. Hi, I have a DSC Modbus server which includes some Shared Variables. I tried to use the event register to catch the event which if one shared variable is changed value. What I did is in the picture. But if one shared variable in one type of register is changed value (for example 10004), all of the remain shared variable in the same type of register generate the event even their values are not changed at all? I don't know how to separate the one which really change the value form the event. I don't want to use the method of comparing the new value with the value stored in shift register based
×
×
  • Create New...

Important Information

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