Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. Today
  3. Hi Priya, I cannot run one VI as there are missing subVIs in STrace.vi. I have attached a VI where I have combined the 2 block diagrams. This is not an ideal solution. A better way would be to use each VI as a subVI, then place each subVI on a calling VI. To do this you will need to create a connector pane for each of your VIs. There are plenty of online tutorials that explain how to do this. One last comment. This site is intended for LabVIEW advanced users. You may find more appropriate help on the ni.com web site. There is also a Facebook group (https://www.facebook.com/groups/430271233771850/) that may be helpful. STRace and Mic Combined.vi
  4. I'm pretty sure that you've built your block diagram incorrectly. Just do it right and it will work fine. (Since you didn't provide any code, I can't be more specific than that.)
  5. I'm attempting to get LabVIEW 2018 along with DAQmx and VISA installed on a machine (virtual) running Centos7 and am wondering if anyone else is doing similar. The main problems I've run into, by following NI's instructions for DAQmx and LabVIEW 2018 support is that it appears some of the DAQmx tools don't install (e.g. "lsdaq") and the additional NI software doesn't appear in the "Applications >> National Instruments" Gnome GUI menu. I can access serial devices once NI VISA is installed (after adding myself to the "dialout" group), but cannot see or access any DAQmx devices using their method in the link above. I have had some success using previous versions of DAQmx for Linux, but ran into issues and conflicts between modules used VISA and DAQmx. At any rate... I'm wondering if anyone has gotten something LV2018, VISA and DAQmx to work on Centos7 or RHEL7 yet... and if so, what issues/fixes/workarounds you had to do in order to get it to work.
  6. I have a need to hit several front panel buttons of a sub vi in sequence. The sub VI houses an event structure that must happen in order to make a certain thing happen. I have a flat sequence structure. that turns off and on local variables that are then fed into the sub VI. The subVI is called in its own while loop. the flat sequence is running and the local variables are changing correctly. However, the subVI in the while loop will not execute causing the event structure inside the subVI to not detect a change and nothing happens The while loop that contains the subvi has no connects in or out of it, its all local variables Any recommendations on how to fix this? Thanks
  7. So when you run the VC++ example you get an error! Well that is hardly LabVIEW related isn't it? You must make sure that you pass the right VID (vendor ID) and PIC (product ID) as programmed in the chip. The chips should come with a default VID and PID from FTDI but it can be changed by a utility from FTDI. Check in the Windows device manager for your interface and in the driver settings you can see the VID and PID values, but they are in hexadecimal notation.
  8. I am trying to integrate or combine two different VI in LabVIEW. One of the VI is responsible to measure the airflow through a USB device connected to the computer. The other VI is responsible for sound acquisition through audio jack. Since I’m quite new to this LabVIEW, I tried to copy and paste the sound acquisition block diagram into the other block diagram which measures the airflow. After the insertion of the block diagram of sound acquisition into block diagram of airflow measurement, only the sound acquisition program runs and displays sound signals. But the airflow measurement was not working and even not displaying in the graph. I don’t know how to connect the sound acquisition program with the airflow measurement. Is it copy pasting the block diagram is possible to integrate the two VI? Is there any other way to combine the two VI? Here I attached the two different VI, the VI for airflow measurement (STtrace) and the VI for sound acquisition (microphone setup 2_listen). Could anyone help me to solve this problem? Thanks. Regards, Priya STtrace.vi microphone setup 2_listen.vi
  9. Yesterday
  10. As of the latest Tools Network version, the palettes should also appear in the "Flatten/Unflatten String>>JSONtext" palette, in place of the install link in LabVIEW 2019. It's programmatically added, so let me know if that doesn't work for you.
  11. https://www.ni.com/pdf/manuals/371780r.pdf yay! 🎉 too bad nxg breaks the code
  12. Last week
  13. MarkCG

    LabVIEW Memes

    A LabVIEW programmable PLC for $99 + $59 per I/O module? This shouldn't be an April fool's joke
  14. Hi, Say, I am going to build a system and control it using labview through DAQ. For example, the system has stepper motors to move a heating chamber back and forth, a temperature monitoring system, a pressure controlling gauge etc. Now, before diving into building the actual system, Is it possible to make a simulation of the whole device and integrate the necessary LV coding, where I can show on screen how the LV program controls the different parts of the system?
  15. A few more April Fools of the past (and a fake fake one from 2019):
  16. But surely all of these are slower and more memory wasteful than transposing which simply twiddles the order and offsets of the pointers that are used to index the block of memory in which the array resides?
  17. If you don't want to use a feedback node, another option is using a local variable (see example below) It sounds like you're trying to process losslessly. If that's the case, you usually need some sort of buffer. In this example, I use the event queue as my buffer.
  18. VITech will bring along this uniquely boxed Raspberry Pi. 😊 Completely ready to run LabVIEW programs out of the box.
  19. Nope. You may want to extend that courtesy but it isn't required for BSD.
  20. Ok, great. I guess we would need Ton's permission if we wanted to set up an online repo - GitHub for instance - for this package, right?
  21. I'm not a HID device expert (Rolfk maybe?), but there seems to be several DLL wrappers to talk to HID devices, but the best solution is to use NI-VISA and talk to it over USB Raw. For this you'll need to make your own INF driver using the NI-VISA Driver Wizard (should be installed with NI-VISA). Then install that driver for your device instead of the one from Microsoft (Device Manager). For this in Windows 8 and newer you'll need to disable driver verification. Then the device shows up in MAX, and the Help >> Find Examples and searching VISA Raw will show some examples. http://www.ni.com/tutorial/4478/en/ https://forums.ni.com/t5/LabVIEW/Nugget-1-of-n-GEtting-started-with-USB-communication-via-VISA/td-p/743518 https://forums.ni.com/t5/LabVIEW/Nugget-2-of-n-USB-Control-transfers-using-VISA/td-p/757011 If you can't or won't use VISA then there are lots of other DLL wrappers but I haven't found one that works as well as VISA with custom driver. http://ahidlib.com/pages/programming_labview.php?lang=en (license needed for full?) https://forums.ni.com/t5/Example-Programs/Windows-API-HID-Functions-Enumeration/ta-p/3513868 https://forums.ni.com/t5/LabVIEW/Confusion-between-HID-and-VISA-communication/m-p/1741390#M610130 https://forums.ni.com/t5/LabVIEW/Need-Example-Code-to-Interface-with-a-USB-HID-compliant-Device/m-p/2763516#M814451 https://forums.ni.com/t5/LabVIEW/How-to-configure-the-call-library-function-using-a-dll-for-HID/m-p/2757194#M813218 https://www-user.tu-chemnitz.de/~heha/mb-iwp/Durchflussmesser/
  22. It is open source. It is licensed under BSD, which in layman's terms means you can use it for personal or commercial use, and various attributes must remain in the source, and you can't sue the author (I am not a lawyer). I think the installed location is <user.lib>\_LAVA\VariantProbe
  23. My only other issue is, I am triggering my Latch reset with a falling edge trigger. The clock that is running the latch is only running at the speed of a while loop. It is causing me to miss the falling edge sometimes. Do you have any suggestions Thanks Setting the Feedback node like this to false did not work I need to find a way to guarantee it
  24. With A slight modification you can get the intended result: horizontal concenate.vi
  25. Hi there, Thanks So when i wrote the VI i notices it automatically populated a feedback node If i tried to delete it , i could not compile. So the feedback node is my answer but need to understand how to use it. I know my Q output to initialize to false and my Q not to be high I will read the link you sent me. Thank you
  26. Initialization behavior is well defined in the settings of the feedback node. https://zone.ni.com/reference/en-XX/help/371361L-01/lvconcepts/block_diagram_feedback/ I'm not sure what you mean by force. Are you trying to make it into a d latch?
  1. Load more activity
×
×
  • Create New...

Important Information

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