Jump to content

Paulo Almeida

Members
  • Posts

    54
  • Joined

  • Last visited

    Never

Posts posted by Paulo Almeida

  1. Hi

    Users that run the attached client and connect to the server running on my PC will be able to chat live. Well they are supposed to... I didn't test it with multiple clients over the Internet.

    Who will have the honor to be the first to connect?

    2048[/snapback]

    Hi,

    I'm trying do something like that, but i only change data information of the DAQ board., its a control and monitoring system. I'm able to connected several clients but its very slow because i use a cycle "for" to send information for all clients connected and for the last my clients that delay is big, how can you treat with this question in your code?

    but your idea it's fantastic, congratilations :worship:

  2. Hi,

    I have one list with a several clients and i can select one of this clients if want. But now i want create more three lists extracting of the main list depending what the clients want to do.My program is based in "Multiple Connections - Server/Clients" on the LV examples. As that I use a subvi Data server Queue.vi to create a main list. There are other way to create this type of lists :question: ??

    regards

  3. Hi,

    I sent you your program modified expecting resolving your problem, but i don't know how you made your buttons because they don't work :o , You can made bottons with aspect you want, the LV have this options you don't need put buttons pictures. but you see the LV examples to learn about it, type controls in search. For link your subvi you must made connectors in that. rigth cliking in icon on front panel, show connector. and with this you can link all buttons and indicatores you want.

    I hope this help you

    regards

    Download File:post-645-1095955723.vi

    Download File:post-645-1095955798.vi

  4. Hi,

    What's for you a transparent button?

    post-645-1095951388.jpg?width=400

    I'm using a sequence structer, because i want that subvi appear when my main vi starts, but you can chang this structer for a event structer, and choose the property change value of your transperent button??? and put the subvi in this structer. your menu you put invisible on default and when you press in your button and with help of property node of menu you can put visible.

  5. I'm using matlab 6.5. The problem is that I made an aplication that in my PC runs perfectly, but when I try to run it in whatever othe PC (I tried in three) there is no communication.

    1888[/snapback]

    Hi,

    This is like crazy but in others pcs you have installed the same LV and same MatLab. If in the others pc the version you have is more recently as 6.5 the LV can't connect with him. That problem occurred to me because i've installed new matlab 7.0 and Matlab script don't work. the only version of matlab you can use is 6.5 or R13. in www.ni.com you can see this, because of address of activex :wacko :wacko: :

  6. I'm using a text ring to control one case structure and i want disable one of his items using a Property node but i don't find any property for disable only one item. Anybody knows some property to do that. I run all properties and don't find :headbang:

  7. Hi roxe

    You don't worry we don't laugh at you, principally me.

    you can use a event structer or a case structer associating that a button and you put in this structers one subvi you want to appear like popup. In this subvi you will cange the windows appearance in properties of subvi.

    post-645-1095849633.jpg?width=400

    This SubVi must be in and out connectors to connect at main vi

    I think this help you in my point of view

    regards

  8. My main program is running in the Server Computer, and then I want the client Computer can visit the main program in Server Computer. But I don't want the users use the main program in editable status, so I build the main program into "exe" file. but I found I can't use the web publishing tool. so someone can give me solutions.

    I hope my idea is clear to understand.

    Skywalkerxp

    post-484-1095325848.jpg?width=400

    post-484-1095326116.jpg?width=400

    1771[/snapback]

    Hi,

    Your program is very similar to mine and i had the same problem but i don't want use the web publishing. the thing i do is save the vi as Application Distribution. you can view this options on File->Save with Options and in there you can selected remove all diagrams and so the user can't changed the vi files.

    good luck for your project

    :thumbup:

    regards

  9. I am learning LV and need set up a system to get I-V curves from source meters.

    Could any one give me some suggestions about how to start it or share a VI with me?

    I appreciate you very much for your help and time.

    1761[/snapback]

    Hi, the simply way to start work with LV is to see the Labview examples, there are most of things to need to start in this language

    Help -> Find examples

    regards

  10. Hi!

    I have still problems with replacing a string.

    I find an example in the LV help about this - "search string and replace.vi"

    I built the same code in my vi and test it. But there is no change. The same stings comes out as the string which go in  :headbang: 

    So I take the example, made a sub vi and paste it in my code. 

    Second test. I saw how the string goes in, the string was displayed in "string in". Then the character to replace and the new character were set. After this the replaced string was displayed in "string out". 

    But at the end the unreplaced string comes out  :o  

    I will replace a : with a _. In the time/date string I build the time is displayed like this: 09:20. And windows don't like : in a path name  :headbang: 

    What can be the problem?!

    1737[/snapback]

    Hi,

    you see the result of terminal offset past replacement? i think the character ":" is one of the Codes are enabled to show nonprinting characters and if you try on the example search string and replace.vi the character "\" don't replace :(

    you can convert your time for seconds and you loose the problem":" :wacko:

    bye

  11. Hi,

    I having a new problem and i don't know if this topic adjust in this forum

    I want generate a wave form which is build with help of an vector of numbers. this function must be able to make a linear interpolation in this numbers.. There are any function in LV which can help me, i don't find.

    The wave must be generate point by point

    :headbang:

  12. Oh, I just find an icon which can convert a path to a string  :)  

    I used my builded date and time sting connect this with link strings. :yes: This string is able to connect at standard name from open/create/replace a file (there I used <create> but I get a dialog which I don't want)

    1724[/snapback]

    if you don't want the dialog this example can help you, i used this in my project and this save the date automatically in file without appear a dialog

    Bye

    post-645-1094817239.jpg?width=400

  13. Hi,

    I like to create a kind of log file after before my LV programm is closed (only if a failure exists).

    The first log file was OK, but now I notice that the file names of the created log files must be expedient for later checks. My idea is, give the files a standard name e.g. log error messages. Then add the current date and time to this file name.

    But how can I manage this?  :headbang:

    1722[/snapback]

    Hi,

    I supposed you can put the name of file with the code error, with the tool unbundle by name you can selected the error code, and then convert to a string with Number to decimal string. So you are able to put this string in a name of file.

    sorry for my bad english

    bye

    post-645-1094811756.jpg?width=400

  14. Hello,

    I have created a vi which opens a file and display it in a graph, there are 8 lines in the graph.

    now we want, if we click somwhere on the graph, to display all the y values with that x value 

    in textboxes.

    Is there someone who knows that ?

    please reply !

    thank you

    Teunvw

    1626[/snapback]

    Hi,

    You have to use the property node of the graph you want and you will find one property that is relationed with cusor.

    Bye

  15. Hi,

    is there a function to set numeric elements blank like for stings the blank string constant? 

    :lightbulb:

    1628[/snapback]

    Hi,

    You can't put numeric elements blank, only zero, NaN or INf, but these two i don't know how to put. Sometimes my numeric elements change to NaN and i don't know know has was happened.

    You can create a Local variable for your numeric elements and change this local variable to write. and put one zero in this local variable

    or you can convert the numeric element to a string put this string blank and convert the string to numeric element :!:

  16. Hi,

    ok, now the failure message 66 is off  :D  

    Now I have an connection between my two PC's, I can sent one string from one PC (1) to an other PC (2) :thumbup: 

    My next challenge is to send this string back to PC 1 and there I have to compare these two strings (I must find out if the sting I sent is the same string I received) and make it visible with an LED.

    But I don't know how to sent my string back. Must I open the TCP connection a second time after reading TCP on PC1? 

    Is it possible to send a string from a PC to an other PC without LV installed and sent this string back to the PC where LV is installed? Or must LV be installed on both PC's?

    1614[/snapback]

    I don't understand your doubth but i think for your problem you have a tool in labview "equal" if you can acess both strings and this tool you can compare.

    But for you change Strings you need labview in the two pc or you can make a program in C for communicate with tcp port, good luck :thumbup:

    You can also make an executable tougth builder of LV but i don't try this yet

×
×
  • Create New...

Important Information

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