Jump to content

Jeff Plotzke

Members
  • Posts

    144
  • Joined

  • Last visited

Posts posted by Jeff Plotzke

  1. QUOTE(hma @ Jun 5 2007, 03:17 AM)

    How about a manner to define a cluster on a tab page and define its size and automatically generate a tab page with the same layout for each cluster index?

    I need to enter the data of 16 different specimen for testing purposes. Until now, I programmed it in a loop with a vi and popup window, but if some data of some specimen is wrong I have to go trough the loop again until I attein the right specimen, change the data and continue looping through the rest of the specimen. It would be much easier if I could use a tab page for atteining the data of a specific specimen.

    I understand this to mean that you have an array of a cluster and instead of the index display, you'd like each element on a tab, to make a tab display for arrays. One could then tab through the elements of the array.

    There's no native way to do this in LV. You could make a tab control yourself and put the same cluster on each one and then build them all into an array on your block diagram -- But of course you'll be stuck with a static number of elements. There would be no way to add or remove tabs based on how many elements you wanted.

    One way to browse arrays that's new in 8 is the vertical/horizontal scrollbar, which may help. That way, you could drop your cluster array on the front panel and users could scroll through each one.

    Then again, perhaps I didn't understand the question and I'm answering completely the wrong question... Let me know if you were asking something different.

  2. QUOTE(phuzionz @ Jun 4 2007, 11:20 AM)

    Dear users,

    How can i programmatically code to toggle itemsymbols when i press on a particular cell or row.

    Thus i want when i press on a row that the symbol appaers and that it disappaers on the previous position.

    Thanks

    You can use the 'ItemSyms' property to set the symbols programmatically.

    I've attached an example.

  3. QUOTE(Nullllll @ Jun 3 2007, 01:54 PM)

    I have twp programs all of those needs daq , any way .. i have to run the first program so value of Vt will be calculated ..

    in the second program the user has to enter a value that shlould be greater than Vt ???? I tried 2 do the two programs as sequnce but i did not work ??

    plz help

    Nulllll, as everyone reminds you each time you post, please post any code that you've tried.

    You say that you've tried these two "programs" in a sequence... please post this code that doesn't work. We can't help you unless we know what you've tried.

  4. QUOTE(phuzionz @ May 31 2007, 11:14 AM)

    Dear users,

    I am looking for a way to make your own Labview pop up menu. I knwow that you can use the "prompt User For input". But is their anather way to do it.

    I am working wirh labview 8.2.1 and for the moment not an advanced user, but who knows in the futere!

    Thanks for your help,

    Jeroen

    Jeroen,

    You can easily make a subVI into a pop up window -- In VI properties, go to "Window Appearance", and make sure that when you customize that "Show Front Panel when Called" and "Close afterwards" is selected.

    Then, in your subVI, have the VI wait for a user to press a button (or any action that you want the user to do with the popup)

    I've attached a sample popup dialog box I created that just waits for a user to click 'OK' or 'Cancel' and then outputs if the user clicked the cancel button.

  5. QUOTE(crelf @ May 31 2007, 10:50 AM)

    If only the RSS feed had an "ignore member" feature - I wonder if I can do that natively in my outlook since I use RSS Popper...

    Sure... configure a custom view for the folder the RSS posts dump to (View > Arrange By > Custom; then turn on a filter...) :rolleyes:

  6. QUOTE(AutoMeasure @ May 30 2007, 10:05 PM)

    After wondering where you can get away with wearing the off-white short sleeved dress shirt with LabVIEW Certified Developer embroidered on it, why not ask your friend/spouse with a sewing machine to make it into a nice souvenir pillow for your office?

    Wow! That looks great! Do you take orders? ;) One could turn this into a business! :P

  7. QUOTE(crelf @ May 25 2007, 11:26 AM)

    We use the ACR9000 on a number of projects (TCP/IP) and it's a very capable unit. There were some drivers that came with it (from memory) but they weren't much more than lower-level command wrappers, so we had to write a toolkit around them.

    Here's a huge warning about the ACR9000 -- If you use a servo drive that's not made by Parker, you'll have nightmares trying to get them to play well together... Apparently there's special handshaking lines between the ACR9000 and Parker drives that aren't used in other manufacturer's drives -- I've used the ACR9000 along with a Kollmorgen drive and the integration of the two isn't something I'd want to do again...

  8. QUOTE(Nullllll @ Apr 5 2007, 02:47 PM)

    sorry again my problem

    Can I know the values of resistor in my circuit by LABVIEW

    If I have LabVIEW connected with two wires to the top of the trunk of my car, can I find the resistance of resistor R35 that's in my car stereo? Sure -- Can't LabVIEW do everything? :P

    We need to know much more about your problem. How are you connecting it? It will probably be a basic Ohm's law problem... V=iR

  9. QUOTE(crelf @ Mar 18 2007, 06:38 PM)

    Check out [wiki]LabVIEW[/wiki] - it rocks!

    That did the trick :thumbup:

    I think I need to add wiki articles for the words 'a' and 'the' -- Articles would have a ton of links! :P

  10. QUOTE(BrokenArrow @ Mar 18 2007, 01:02 PM)

    Hello all,

    I was having problems with programmatically setting the precision of a numeric control in an old 5.1 app after conversion to 8.2. So I isolated the issue into a simple VI - now I'm getting errors that don't make sense. See attched VI - does it work for you? Thanks!

    Woah -- That's wierd. I'm also using 8.20 and I'm getting the same error -- "LabVIEW: Valid format values are from 0 to 8." returns if I give it any value other than 0. I also tried the "Format" property node... It also returns errors when I try to change the format type of the numeric.

    I would definitely report this to NI...

  11. QUOTE(Nullllll @ Mar 16 2007, 05:11 AM)

    Any hardware can help the objective of this course is to interface by DAQ or USB or PARRALE PORT with LABVIEW....

    WE CAN DO ANY THING ..

    What are topics that you are interested in / what projects are you thinking about doing?

    We can't just give you a random project to do -- that's your decision.

  12. I'm using the 'Get Time/Date in Seconds' VI wired to a 'Format Into String' with "%T" as the format. I noticed that I get two different date/time strings depending if I do this on a Windows PC or on a PXI RT System:

    Windows PC: 11:31:48.293 PM 3/16/2007

    LVRT: 21:31:49.293 03/16/2007

    These slight differences are messing with me since I'm trying to transfer this timestamp between a PC and RT system using format to string/scan from string.

    So, my two questions:

    1. Is there a way to set the locale settings in RT to tell it how to format a date/time string?

    2. Should I not do this this way and instead use the 'Format Date/Time String' VI on the RT side to create a string like the Host expects. However, I'm still weary of the day if the locale setting of Windows gets changed. Then, my strings won't match up again.

    What's the correct way to pass timestamps between systems without worrying about locale settings?

    Thanks!

  13. QUOTE(Adam Kemp @ Mar 15 2007, 07:05 PM)

    Although the Sound Output Set Volume VI pretends to set volume on a per-channel basis, it doesn't really do that. It just takes the volume for the first channel and uses that as the volume for all channels. This is a known bug.

    :wacko: That's good to know.

    What about a way to pan your speakers from right to left output? I know there isn't a VI... perhaps a Windows API call? (I really don't need to do this... I'm just brainstorming)

  14. QUOTE(Doon @ Mar 15 2007, 02:51 PM)

    I cannot comment on the utility of the native LabVIEW Internet Toolkit as I have not used it, but I hear it's pretty cool.

    I'll comment that I remember older versions of the Internet Toolkit having a huge memory leak in the XML VIs (I believe it was version 7.1 or so...) I haven't tested anything newer, so I hope it's corrected, but if you're planning to open many XML files over time, you may want to watch your memory if you're using the Internet Toolkit.

  15. I'm trying to programmatically find a SCXI chassis' associated DAQ Device -- I have a PXI system with a SCXI chassis connected to a PXI-6220 M-Series DAQ card.

    Given a SCXI Module name like "SC1Mod1" from MAX, I'd like to be able to determine that that SCXI Module's chassis is connected to PXI1Slot9 (The PXI-6220 DAQ).

    I've tried the 'DAQmx Device' property node (I've attached a screenshot of my code), and it returns that it's a SCXI module, but my way to trick it into telling me the connected PXI module fails with 0. (And for some reason, some of my actual PXI cards get this property to return 0 as well)

    Has anyone programmatically done this? Thanks for your help!

  16. QUOTE(Nullllll @ Mar 14 2007, 06:49 PM)

    I am using for loop for (i=0 ; i<N;i++)

    x/N* i-10 =+10 Max

    x/N*i_10=_10 Min

    so if the result of the equation greater than 10 or not in range og -10 and 10 , it immedailty generate a value for x and N so it can satisfy the equation !!!! I mean if the user enter X it can calcualte Y in the range to get the correct equation , and notice (i) is the iteration of the for loop and N is the condition of for loop.

    I mean the result of equation can be between +10 and _10 , I have used in LABVIEW in range in corece but it doesnot correct value of X and N if they are false ??

    any help please so if the value not in range -10 to 10 it can correct it!!

    I don't exactly understand what you're asking. It sounds like you have the equation:

    (x/N) * (i-10) = y; where y has to be between -10 and +10

    If y is outside the [-10, 10] range, you'd like to have LV find a value for x and N to make y in range. (ie, if y = -15, find values of x and N to make y = -10)

    If this is correct, it's just algebra to determine your new value -- However, notice that you can't find values for both x and N -- This is a linear system and x and N have an infinite set of numbers that satisfy a given equation. Therefore, you'll have to hold either x or N constant.

    So, for example, if you want to hold N constant, you can find x for the case y = -10 using:

    x = (10*N)/(i-10)

    So, have LabVIEW determine if your y is within range. If it's not, use another equation to determine a value of x (or N) which will satisify your equation.

    Let me know if this isn't what you wanted.

  17. QUOTE(vee_yar @ Mar 14 2007, 10:06 AM)

    Here I attached a VI which has got frequency and volume control.but the problem is the duration of the sound played is going on increases as time increases and also the delay(i.e 1ms)between each sound output is not maintained uniformly.

    Here's a few suggestions from playing around with your VI:

    -You may want to use the 'Sound Output Wait' VI after your Output Write VI to hold your loop until the sound has completed playing. After your Sound Output Wait, you can use a Wait (ms) VI to wait a given amount of time after your sound is output. This will help keep the duration between pulses equal.

    -Generate the amount of the sine wave you want in your Simulate Signal -- For example, right now you have it set for a simulated 10kHz acquisition and generating 5k points. Therefore, you'll get 0.5 seconds of a sine wave. Make sure that you generate as long as a sample as you need.

    -In the Output Configure VI, set the 'number of samples per channel' input to the number of points you're generating with the 'Simulate Signal' VI. If you leave this at 10000 and you give the sound output 5000 points, the sound card will actually output 5000 points that you gave it, then 5000 points of nothing. So, if you use the Output Wait VI, it actually waits for 10000 points. Therefore, it's probably a good idea to make sure that these two numbers match.

    -I also had much better timing switching to finite samples on the Output Configure.

    That said, I really wasn't able to get the duration of the time sample to change during my tests. Try out these suggestions and let us know if this doesn't fully correct it.

×
×
  • Create New...

Important Information

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