Jump to content

Clio75

Members
  • Posts

    87
  • Joined

  • Last visited

Posts posted by Clio75

  1. Hello,

    When I started this testing seq it was removing the "0" first in the string. with or without the " "

    But Now I can't reproducer it. But if anyone have any idea on this leave a remark.

    The number format as Hex may be helpfulm, I think. If it is a string, I'm sorry that I don't know why.

    I try to handle this as a ASCII string, not binary or hex. But maybe Teststand do :unsure:

    Thanx

    String.zip

  2. Have you seen any problems with string when propagate them.

    I have a challenge with the addressing our equipment. it's using ascii base protocol and addressing from 00 to 79.

    So when I propagate the variable Poss th value change from 07 to 7 and then I missing a char. and this makes the sequence failing (of course).

    Any I idea ??

    Thanx

  3. Hmmm

    Today it worked.

    So the solutions is to have the " " on. Without the " " the 0 will not be taken in the string.

    WHY ??????? :frusty:

    OK then I wasted at least 2 hour yesterday on this :frusty::angry:

    But there is an other problem with strings that contain a 0 as the first char.

    When propagate them this 0 is gone. :frusty: (soon my head hurts)

    is there any way I can avoid this ??

    Please advice

  4. I'm using the property loader to store the position of UUT and instruments com ports.

    And most of this is working OK.

    One thing I found strange is that when I load a value "07" (zero seven) as a string this will end up as "7" in Teststand.

    this is I have tried 07 or "07" with the same result. :throwpc:

    Is there something I have overlooked :book: in the Teststand ??

    or is there something else I can try If not I have to look at checking the value in a statement. :angry:

    Thanx

  5. Both methods will work with calling other sequence file. It is no difference for TestStand to call a sequence from the same sequence file or a sequence from other sequence file. Oh, no, the difference is what you can not use FileGlobals for different files. But if you don't have a bad habit of using globals, you are ok. wink.gif

    In order to get started I have used both file-globals and station-globals. But I hope to change this now.

    I think I use propagate inside a seq. But parrameter between seq.

    I think I just do some testing

    THANX :thumbup1:

  6. The key word there is "annoyed": your bosses are paid to put up with you annoying them - the admins and moderators here at LAVA are not. The old adage of "the squeaky wheel gets the most grease" does not apply here - in fact, it may be the opposite.

    :thumbup1::lol:

  7. It's not funny to be there.

    Leave the KID alone. He is the guy with the problem.

    Depending on the boss you have, you can talk to him.

    Not to harm the KID but to inform your boss about the incident.

    We have a saying about thins in norwegian, but it can't be translated. due to the double meaning of a word.

    But in other words You can't make all people happy.

  8. What about your question "how to handle the values between the sequence?", I'm using two ways, passing parameters or propagating locals.

    I suppose what you are using a top level sequence which calls your instrument sequences as sub sequences.

    Than for the passing parameters method, you need to call each subsequence and pass by reference the variable as parfameter. If the parameter is modified in a first subsequence, the second subsequence will use the modified value.

    Thanx for your examples.

    The Idea was to call other seq files that is not in the current file. I think the Parameter passing is what I need.

    In my project I need to pass over the instrument port, so I think this will work.

    Thanx.

    I didn't figure out the propagate thing yet. but I will look into it later

    I have to be finnished with something first :wacko:

  9. There is a "User Title" under my avatar that says "I need an avatar!" or something like that. I have searched for half an hour for how to change this and I haven't found it yet. Can anyone point me in the right direction?

    If you mean the text under your picture

    post-10422-125126418133_thumb.png

    This will change automatic depending an the number of post you have.

    If you pass 1000 post you will be able to sett the text yourself

    Good lock

  10. I'm trying to use the property loader in Teststand 4.1.1 and load and array into an array variable.

    But I always have problems, or unloaded value.

    So I have tried:

    Testarray[tab]test1[tab]test2[tab]test3[tab]test4

    OR

    TestArray

    [tab]test1

    [tab]test2

    [tab]test3

    [tab]test4

    OR

    Testarray[tab]test1,test2,test3,test4

    or XML

    TestArray <Prop Name="TestArray" Type="Array" LBound="[0]" HBound="[4]" ElementType="Number">

    <Value ID="[0]">CRC</Value>

    <Value ID="[1]">ATT-6</Value>

    <Value ID="[2]">CRC</Value>

    <Value ID="[3]">ATT-13</Value>

    </Prop>

    If you like to test this, the first 5 in the uut serial number must be 12345 :cool:

    Testing.zip

  11. each time the adapter was plugged in it had a different COM port or the settings were totally different.

    This happend if you are using diffrent USB port. At least on my computer the serial port is static mapped. so If I choose USB 1 it become com3, if I use USB2 it become com5. But If you have other application that takes these port it have to assign new port to that USB.

    I also had to "synchronize" the VISA drivers in MAX to what Windows had occasionally.

    This is better in LW 8.6 at least. But not perfect. In must cases the instrument gets up without start MAX.

    But I tried a new instrument yesterday, and this was not found before I restarted MAX and LW. frusty.gif

×
×
  • Create New...

Important Information

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