Technical Forum Moderator
  • Content count

  • Joined

  • Last visited

  • Days Won


AustinStanton last won the day on November 13 2016

AustinStanton had the most liked content!

About AustinStanton

  • Rank
    Advanced User

Profile Information

  • Gender
  1. Hey @Jon Frey The easiest way to get the LabVIEW 2014 version is to download VI Package Manager. This link explains where VI package manager is and how to download and use it. Once you have it installed you will be able to set your LabVIEW version to 2014 and search "Digilent" and the Digilent Waveforms Toolkit should appear. Let me know if you have any other issues Austin Stanton
  2. I apologize but this particular forum is designed to support Digilent's products. As a result, you will find that the tech support individuals that read this forum aren't necessarily equipped to handle your request. I think you will have better luck posting this question on the NI forums. Hope this helps! Austin Stanton
  3. I have never personally used multiple DAQ devices at once but from what I have read you should be able to use multiple at once. Hope this helps Austin Stanton
  4. Hey Felix I think I can help you but I only have LabVIEW 2014. Could you please use the "save for previous version" option to save your VI for the 2014 version so I can open it Thank you Austin Stanton
  5. Thanks for letting us know about that, I'm glad you were able to figure it out. Austin Stanton
  6. Have you used LINX Target configuration yet? Make sure you have done anything in this video. Austin Stanton
  7. Start by putting a LINX open as the first thing on your diagram, make sure you set it to local IO and then connect its error out to the error in of the "Visa configure serial port". Next, run the error out wire from your "VISA close" to a LINX close and then connect the LINX resource output wire of the LINX open to the LINX close. Now try it with the LINX open and close and double check that dev/ttyUSB0 is the correct format for VISA. I've heard that VISA has an issue with specific drivers so it could be that you won't be able to use that device with the RPI thanks to the VISA bug. Austin Stanton
  8. Goodluck, let me know if you have any other questions. Austin Stanton
  9. It's ok to use the VISA assuming you are using the correct port setup (on rpi it's like dev/tty instead of COM). You need to be using a LINX open and close though.
  10. First of all, you should use LINX to communicate with the Arduino using LabVIEW. I have created a simple VI that I think does what you want it to do. This VI will constantly read the voltages and record them to a graph. The first block inside the while loop is called "Read Pulse Width" and it is used to read the square wave. When the square wave dies it will output a pulse width of 0 which will change the case structure so that starts recording the values after that point onto a different graph and will set an error boolean to true. That way you will be able to see what happens directly before and after your heart beat dies. Let me know if that's what you want Austin Stanton
  11. Yes the bundle is only for the 2014 version because that is the LabVIEW version that supports LINX 3.0. The problem is occuring because the installer is unsigned, this means you need to restart Windows in the mode where it allows you to install unsigned drivers.Here's a quick step-by-step guide:1. Press win+c on the keyboard to bring up the charms side bar (or move mouse to right top corner of the screen)2. Click the Settings button.3. Click the Change PC Settings at the bottom of the sidebar.4. On screen that shows up, select the General option from the sidebar then scroll down the page that appears.5. Click the Restart now button under the Advanced startup section. 6. You will momentarily see the restarting screen, then it will switch to a blue screen titled "Choose an option" 7. Click the Troubleshoot button. 8. Click Advanced options. 9. Click Startup Settings 10. Click Restart 11. You should then see a Startup Settings screen after your computer reboots. 12. Press 7 or F7 on your keyboard to Disable driver signature enforcement 13. Now Windows 8 will continue starting up. 14. Log-in as normal, and then run BONE_D64.exe again 15. Now you should see 4 warning dialogs about "unsigned driver installation", click OK for all of them. Then you should be good to go! Hope that helps, Austin Stanton
  12. You should be able to use those directions to guide you in making another custom command. If you get stuck at any part you can ask and I will try my best to talk you through it.
  13. I would try the examples and make sure they work. Otherwise, it might be a problem with "tsxpert." You don't need to use a Digilent board, it should work fine with the Arduino Uno.
  14. Glad to hear, let me now if you want me to explain the Arduino or LabVIEW code in greater detail. -Austin
  15. Once you have the "Arduino_Uno_Serial" example opened go to Sketch-> Include Library->Manage libraries. In the library manager search "DHT sensor library", once it comes up click on it and then select the install button that pops up. After it is installed restart Arduino IDE and then reopen "Arduino_Uno_Serial" Now click File-> save as and then save it with a name like "DHT". This way you don't make any changes to the template. Once your new file is opened add the DHT library by putting #include <DHT.h> Then add int dht(); Next add the following code to the setup() function to attach the custom command to the LINX listener (in this case called LinxSerial connection) LinxSerialConnection.AttachCustomCommand(2, dht); Finally at the bottom of the firmware, after the void loop, add your custom function. The custom function that will work with "LINX interactions" example in Labview is pasted below. int dht(unsigned char numInputBytes, unsigned char* input, unsigned char* numResponseBytes, unsigned char* response) { if (numInputBytes != 1) { return 1; } DHT dht(input[0], DHT11); dht.begin(); delay(1000); unsigned char h = dht.readHumidity(); // Read temperature as Celsius (the default) unsigned char t = dht.readTemperature(); // Read temperature as Fahrenheit (isFahrenheit = true) unsigned char f = dht.readTemperature(true); // Check if any reads failed and exit early (to try again). if (isnan(h) || isnan(t) || isnan(f)) { return 1; } unsigned char hif = dht.computeHeatIndex(f, h); // Compute heat index in Celsius (isFahreheit = false) unsigned char hic = dht.computeHeatIndex(t, h, false); response[0] = h; response[1] = t; response[2] = f; response[3] = hic; response[4] = hif; *numResponseBytes = 5; return 0; } I have attached my code as well so you can copy and paste from there or use it if you would like. Once you are finished, upload the code to your board and then you will be able to use the LINX DHT11 example. DHT_example.ino