Jump to content
News about the LabVIEW Wiki! Read more... ×

TomOrr0W

Members
  • Content Count

    24
  • Joined

  • Last visited

  • Days Won

    2

TomOrr0W last won the day on October 18 2018

TomOrr0W had the most liked content!

Community Reputation

7

About TomOrr0W

  • Rank
    Active
  • Birthday November 27

Profile Information

  • Gender
    Male
  • Location
    Michigan

LabVIEW Information

  • Version
    LabVIEW 2017
  • Since
    2008

Contact Methods

  1. TomOrr0W

    VirtualBench for LabVIEW 8.5

    Looking at the readme files, LabVIEW 2015 SP1 is also supported on WIndows 10 (http://www.ni.com/pdf/manuals/374715d.html) if you have issues with the 2016 versions.
  2. TomOrr0W

    VIPM LAVA Repo

    Has JKI ever mentioned why they chose to have this restriction? I would ask the question on their forums, referencing this thread, but I don't really want to keep track of another forum account just to ask one question.
  3. My apologies if this is browser-specific (I am using Microsoft Edge). I have noticed that topics being moved to another forum make it so their original forum stays marked as unread even after you click on all the topics (including the moved one). You can use Mark Site Read to clear this state, but it seems like a forum bug. Example below: All LabVIEW General topics have been read but a topic was recently moved (in the red box): Yet LabVIEW General is listed as unread on the main page: and the Software and Hardware Discussions Page:
  4. TomOrr0W

    DVR Error Handling

    Hi David, I tested this on some versions I have access to: 2009: No Error Prompt (Yes, I double-checked that Automatic Error Handling was turned on) 2015: Error Prompt Appears 2017: Error Prompt Appears 2018: Error Prompt Appears
  5. TomOrr0W

    Can i measure a 10ms Pulse cDaq-9178 & NI9237

    Assuming your pulse is a pulse on the strain gauge itself and not the lightbar, the specifications of the hardware you selected should be capable of capturing a pulse in that range. I would recommend taking buffered measurements with a Windows system. If you need to react to this pulse as it occurs, you may need a real-time system instead. The NI 9237 can capture at 50 kS/s (or 20 us per sample) - http://www.ni.com/pdf/manuals/374186a_02.pdf. This is more than enough to detect your pulse without aliasing (>2 times the frequency) and to give a decently accurate representation of the signal (>10 times the frequency - http://www.ni.com/white-paper/13655/en/). The NI 9425 is less clear, but it appears to be able to measure down to 8 us per sample - http://www.ni.com/pdf/manuals/373782b_02.pdf. However it may not be capable of buffered measurement (https://forums.ni.com/t5/Digital-I-O/Can-NI-9425-DI-be-buffered/td-p/3368527).
  6. I can confirm this with LV2009 (32-bit) and LV2018 f1 (32-bit). This is from fresh vis, not copying one of the snippets in the thread.For Darren, if you try to wire from the constructor, you cannot find the terminals. It is only if you create another object and try to wire it to the constructor that you can connect to the terminals (or if you try to wire one of the other terminals on the constructor to the hidden ones). Also, their vertical location is in the center of the constructor, so if you are trying to connect to the top, it will appear that they don't exist.
  7. TomOrr0W

    Convert Hex String to Number

    If I am reading the directions correctly, you can break this reading up into sections: (character 1) T1 Polarity = + (characters 2-7) T1 Value = 0x0056A4 = 22180 (character 8) Thermocouple Type = K (character 9) T2 Polarity = + (characters 10-15) T2 Value = 0x005640 = 22080 (character 16) Unknown = _ (character 17-22) Timer =000353 (character 23-30) Meter Status = ________ (character 31) = Carriage Return (part of a new line character) (character 32) = Line Feed (also part of a new line character) The calculation shown is to convert a hex value to a decimal value and scale it into an actual temperature (divide by 1000). Mentioning MSD and LSD is just so you can order the Hex value correctly when converting to decimal. 0x0056A4 = 0 * 16^5 + 0 * 16^4 + 5 * 16^3 + 6 * 16^2 + A * 16^1 + 4 * 16^0 = 0 * 1048576 + 0 * 65536 + 5 * 4096 + 6 * 256 + 10 * 16 + 4 * 1 = 0 + 0 + 20480 + 1536 + 160 + 4 = 22180 Your temperatures are 22.180 and 22.080 (not sure what unit; probably degrees Celsius). In LabVIEW, you can use code similar to the following to make the conversion: Conversion Example.vi
  8. TomOrr0W

    LabVIEW Idea Exchange

    I finally decided to put an idea up on NI’s idea exchange to improve the process of activating NI Software via web page here (they broke some things when switching to NILM 4): https://forums.ni.com/t5/Additional-NI-Software-Idea/Bring-Back-the-Web-Page-Activation-Link-in-NI-License-Manager/idi-p/3791221 I also noticed a couple good License Manager ideas by others: https://forums.ni.com/t5/Additional-NI-Software-Idea/License-Manager-Provide-option-to-remove-serial-keys-from-disk/idi-p/2198792 https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-a-QR-Code-2D-Bar-Code-Option-To-NI-Product-Activation-Dialog/idi-p/1428900 https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Smartphone-application-to-activate-NI-Software/idi-p/2161064 (already mentioned earlier in this thread by its creator, Antoine Chalons)
  9. Does anyone have a method for preventing a class from being inherited by other classes in LVOOP? This question came up while researching Object-Oriented API Design guidelines, one I came across in text-based languages was "Design and Document for Inheritance or Else Prohibit it" (see Slide 26 of http://lcsd05.cs.tam...des/keynote.pdf; there is also a video of the presentation on YouTube). In the case of classes that are reused within a team or publicly distributed, the issues discussed there with changing implementation details in the class being distributed potentially breaking children seems to still be valid in LabVIEW.
  10. TomOrr0W

    Loop timing

    Note that this vi will use about 100% of cpu time (it will also interfere with timing of other code if you only have one core) on one of your cores due to the lack of a wait function. Adding wait (ms) with an input of 0 ms inside the body of the loop will still use 100% of cpu time, but it will not interfere with other code as much. A 10 ms wait drops that to be close to 0% (assuming you can tolerate being up to 10 ms late).
  11. The only reason I can think of to use that at the moment is if you want to make a VI that has a progress bar be more consistent with other Windows 7 dialogs (a minor usability feature).
  12. TomOrr0W

    What is CAN device?

    If your application does end up communicating with CAN devices, note that NI's USB-8473 devices do not support NI-CAN's Channel API (you would need to use the Frame API or the Frame to Channel Conversion method, which are both somewhat more complicated -- See the LabVIEW help for NI-CAN).
  13. TomOrr0W

    UDP Read of Variable Size Packets

    I think you are not getting overflow errors because the operating system drops packets silently once the buffer is full. I have no idea why you are getting partial packets - the documentation seems to imply that LabVIEW only reads complete packets (I may be wrong on this). I think asbo's solution is probably the best approach to take with the issue of not reading fast enough.
  14. TomOrr0W

    UDP Read of Variable Size Packets

    I looked at the documentation for the UDP read VI, and I believe you are getting error 113 and no data on that first read because the one byte you attempt to read is part of a larger packet. From the documentation of the Max Size control of that VI: max size is the maximum number of bytes to read. The default is 548. (Windows) If you wire a value other than 548 to this input, Windows might return an error because the function cannot read fewer bytes than are in a packet.
  15. TomOrr0W

    How to change content type of N-element cluster

    So that you don't get confused the next time you use "Array to Cluster" and attempt to probe its output, the issue you were having earlier was just due to the way LabVIEW names the output of "Array to Cluster". LabVIEW takes the name of the input wire and appends [0], [1], [2], etc to it to name each item in the cluster. It also gives the cluster itself that name. Therefore, in your first probe window: Array (1-D Array of Strings) -------Array to Cluster--------> Array (Cluster of: Array[0] (String), Array[1] (String), Array[2] (String), Array[3] (String) ...) And in your second probe window: "" (1-D Array of Strings) ----------Array to Cluster-----------> "" (Cluster of: ""[0] (String), ""[1] (String), ""[2] (String), ""[3] (String)) where "" is a placeholder for an empty string (the default name of a constant).
×

Important Information

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