Jump to content

MViControl

Members
  • Posts

    62
  • Joined

  • Last visited

Posts posted by MViControl

  1. Hello all,

    I plan to add a function in my project to allow user playback how they operate the SW. I saw in some other projects, they can save the "user operation including the GUI" for almost a week, I want to do same thing via LabVIEW, but now I have no idea how to impliment this, anybody have some ideas or experiences?

    Thx

  2. Hello,

    I tryed to use "Create Timing source" VI to create a software tiggered timing source, and then use a "Fire software Timing source" VI to trigger it, but it seems I can not trigger the clock, can anybody send me a example of how to use it (I try to search online, but got nothing).

    Thx

  3. The snapshot itself is unhelpful. You should start by scrolling down to see the description of the error and then by expanding the details section (click on the triangle). Those should probably at least point you to the source of the problem.

    If you don't know what the problem is, you can try doing a search on the details you get to see if others had this problem before.

    Thanks Yair,

    I tryed to use a very simple example(a vi include a add function only) to find out where the problem is, but after I create the .exe file and then try to create the installer for this .exe file, the same issue happened again.

    The strange thing is that the error message is same to those displayed before, I attached the more detailed error message as attached file, would you please help.

    It seems like my application builder missing some key files, but I am not sure.

    post-6763-127174764151_thumb.jpg

  4. Absolutely,

    It's a matter of trapping the filter event and determining if it's in a specific column

    like this

    <a href="http://content.screencast.com/users/NJKirchner/folders/Jing/media/c0df957c-aa92-43ab-8fc6-ade57a9d30fd/2009-11-20_0946.png"><img'>http://content.screencast.com/users/NJKirchner/folders/Jing/media/c0df957c-aa92-43ab-8fc6-ade57a9d30fd/2009-11-20_0946.png"><img class="embeddedObject" src="http://content.screencast.com/users/NJKirchner/folders/Jing/media/c0df957c-aa92-43ab-8fc6-ade57a9d30fd/2009-11-20_0946.png" width="825" height="796" border="0" /></a>

    <br>

    Listbox demo.vi

    <br>

    and just as a cautionary tale, I saw some strangeness on my system w/ this not working quite right this morning (but it is a monday and murphy loves mondays)

    I try it, but it seems doesn't work, the cell in collum 3 still editable!

    Besides, if I click more than 4 times in the listbox, the program will not response any event, even the "stop".

  5. Which version of VISA drivers are you using at the moment?

    Have you tried to reinstall the latest drivers? (v4.6 Run Time or Full)

    I use NI-VISA 4.5.1, I will try to reinstall the driver, hope it works.

    This is just a thought. Sometimes this happens to me and it's because the GPIB card is loose in the PCI slot. Once I push it back in the VISA works. I know you said that you can communicate with MAX which would mean that the GPIB card is working, so I'm not too sure if this is your problem.

    I tryed already, it do not help, I think I should try to reinstall NI-VISA.

  6. So you're not seeing at least the COM ports...

    Apart from VISA class, I'm sorry to say I'm at a lost of an explanation.

    Yes, I see nothing except the "fresh", but I can see & operate "serial port", "GPIB" in MAX sucessfuly.

    Can you please upload a screen shot of your port listing in MAX and a screenshot of the dropdown on your control?

    here is VISA Resource name when I click the menu button:

    post-6763-125790909412_thumb.gif

  7. There should be a Menu Button that you can show/hide with a right-click (select Visible Items).

    The drop-down list will then display all available VISA resources.

    (Or it could be that your VISA class is not set for Instruments.)

    I think you misunderstand my point. here the problem is that I have the menu in the control, but when I click menu, there are no any item in the menu except "fresh"

  8. All,

    I have sucessfully installed Agilent 82530B GPIB card in my system, and I enabled VISA for LabVIEW, I can operate this card in NI-MAX, but when I want to select this card, I suddenly found that the "VISA Resource name" have no pop up menu any more. before I install the GPIB card, the "VISA Resource name" can list all ports in the system.

    Any one have ideas about how to solve this issue?

    Thx in advance.

  9. 1. Read from spreadsheet file.

    2. Delete array element.

    3. Write To Spreadsheet file.

    Either way its only a 30 second vi. How easy do you want it?

    Thanks, just want to know how people handle this.

    B.T.W how you handle the replacement of the file contents(if you just write txt to file, it will attached from the last point of orignal contents, if you write from the start point of the file, there will be a orignal line left in the last line of the new file), I delet the orignal file and create a new file to avoid this.

  10. Hi all,

    I have a .txt file which includes several lines, and I want to delete certain line(e.g. line 5) in the file, I found Labview have no function for this, so I would like to operate like following steps:

    1. open file in read/write mode;

    2. read all lines to a array;

    3. delete the line in the array;

    4.write updated array to the file(replace all the old contents)

    do you have any other way to operate this easier?

  11. Hi,

    I am working with Multicolumn Listbox, and I want to change the display method of one column of the Listbox to those like password display (i.e ***), but I do not know how to achive this.

    Besides, I want to insert a combo box in one colomn for each element so that customer can input easily, can any body help on these 2 issue?

  12. Well you can save a VI with removed diagram. But this has the aformentioned drawbacks. It contains only the compiled code for the LabVIEW version that created the VI and also only for that platform. Some of your user is likely to have not the same version of LabVIEW or wanting to use it on the Mac or Linix instead which requires LabVIEW to recompile the diagram. But wait there is no diagram, so the VI is broken and the user has no way to fix it in anyway.

    So what does that mean? You will have to support whatever LabVIEW version you users have or state this VI will only run in LabVIEW x.y on platform Z. Such a limit is likely to make the acceptance of your library to go so low that you can just as well stop distributing it at all, since nobody is bothering with it. It is already hard to get people to bother about VIs that are not protected and free of charge if they do not come from NI, so any extra hurdle, even the password protection alone, makes that only harder.

    Also since you have no way to go from the "protected" VI back to the unprotected VI you do need to maintain backup copies of the unprotected ones. An error where you accidentially overwrite your unprotected VI with the "protected" one happens so easily, believe me I can guarantee you that this will happen to you!

    Rolf Kalbermatter

    Thanks buddy, now I know the options

  13. What is wrong about password protection? It's by far the best method, unless you want to hide your code from NI, who theoretically have the ability to look at that code anyhow with ease. Anything else has only a lot of drawbacks. It consists basically of removing the diagram code entirely from the VI that you give to the customer. The drawbacks are:

    - The VI will not work on any other version or platform of LabVIEW since LabVIEW can't recompile it.

    - Maintenance of two VI versions, one without diagram and one with is more complicated.

    Rolf Kalbermatter

    The Password Protection system works fine. Just want to get more methods to protect the code. Could you please tell me more about the "drawback way" you described?

×
×
  • Create New...

Important Information

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