Jump to content

Sarah83

Members
  • Posts

    179
  • Joined

  • Last visited

    Never

Posts posted by Sarah83

  1. Hi,

    I have two graphs with different amplitudes.

    How is it possible to compare this two signals? I thought I can write the signals, frequency, hz, time(?) in a field and compare this values then I can connect a LED for the status.

    But there is the problem with the amplitudes :wacko:

  2. 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?!

  3. 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

    1723[/snapback]

    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)

  4. 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:

  5. Hi

    I like to test my code on an other PC, I transfer the code via USB. After run my LV programm all lines were contorted. I'm not able to see the cross from windows to close the application. Everything is contorted.

    The resolution on the pc I'm developing is 1280x960. The resolution on the other pc is 1024x768. How can I set LV for solving this problem?

  6. What I always used to do was to store my collected data in a 2D array (if there wasn't a LOT of it) and then use the "array to spreadsheet string" function to convert it to a string and then write it to a file. If it's tab delimited, you can call it a ".xls" file and Excel will open it, or call it txt, etc.

    I've attached an example using a "Get Date/Time String" and 3 random number generators stored into a 1D array to kind of give you an example.  I hope it helps.  If you're collecting data faster than once per second, you might want to use the "Get date/time in seconds" function and format it to your liking.  That function will give you a timestamp with millesecond precision.

    post-2411-124769362039_thumb.jpg

    Edit: I noticed you're running LabVIEW 7.0, so I included a vi for you.  The difference between the vi and the image, I included an indicator for loop iterations, and removed the file path constant, so it will prompt you to save it somewhere.

    Hope it helps!

    1124[/snapback]

    I have a question about this attachment.

    What's this for a symbol with the constant "3"?

    I don't know this symbol and can't find it :headbang:

  7. Hi,

    you can access the properties of the individual pages by using the Pages-property

    Then by indexing the correct refnum, you're able to hide/show the pages you want.

    See attachement for an example.

    Greetings from Germany,

    VDB

    1627[/snapback]

    I can't find the proberty PageVIs :wacko:

    If I connect thearray index with the proberty node, I get Page, ok, but if I click for the proberties, I can't find PageVis, only page active, page visible....

    If I disconnect this I can choosea class ... :lightbulb:

  8. 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 :!:

    1629[/snapback]

    Oh, you're right :thumbup:

    I choosed the local variable zero :)

  9. 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

    1616[/snapback]

    How to compare is clear, but how to sent the stings back ;) ....

    I will try to find out something about Bryan's solution

  10. You can send all of these across the one connection. The trick here is to add a header byte to each packet so that your receiver (client) knows what to do with the packet. eg 0=synchro, 1=ttl, 2=audio, etc).

    Just a note on the audio: you will need to buffer the audio on the client side to avoid having playback that has gaps in it. There is an interesting article in one of the recent LTR issues dealing with LabVIEW, sound and gapless buffered sound playback using the native LV sound VIs. Well worth a read.

    cheers, Alex.

    1618[/snapback]

    Hi Alex,

    LTR?

    Do you have a link for me?

    Now I'm just happy to have a connection :D

  11. 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?

  12. Hi!

    I like to hide some tabs of an index card depending on a radio button. How

    can I enter this hide property on the index card? Or ins't there any

    property and I must create a case or an event? :blink:

    I try to put my index card into ab event but there is no help for how to connect an index card (my help said no description available :headbang: )

  13. Hi,

    I like to know if it is possible to send some data via TCP/Ip with LV.

    Are there some examples? Must I open one port for every data or could I send three signals over one? (synchro, ttl and audio)

×
×
  • Create New...

Important Information

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