
In the code, I will input "Delay" which is the time interval between each reading in one test, and "Sample" is the total data in one single test. I want to control Keithley 2700 and read DC voltage using USB-GPIB. And another serial com program is well operation.

When i stop send data at MCU, the labview output continuously.( I thinks it is accumulated Data) I running the program on my desktop PC, there is no problem.īut running on laptop PC, the data is delayed.ĭata is accumulated somewhere continuously. HAL_UART_Transmit(&huart1, &buff, 1, HAL_MAX_DELAY) HAL_UART_Transmit(&huart1, &lower, 1, HAL_MAX_DELAY) HAL_UART_Transmit(&huart1, &upper, 1, HAL_MAX_DELAY) Hi, i make VISA labview program to send data MCU to PC. Also a point I should mention is that when I run the LabView program(Highlight Execution: ON) on the "Read buffer" from VISA Read the value that gets passed is "L0L0L0" or "L1L1L1" why does it do this? it should only show L0 or L1.

In LabView I sometimes get correct output indicating that the bulb is ON but that occurs only once and after that it does not run(after it executives once it shows error 85 or sometimes 1 but I assure you the connections are tight and correct). I am using VISA for displaying the switching of bulbs. The program runs perfectly in Arduino and I want to indicate the bulb on/off in labview. My application is to read data from LDR and turn on and off bulb accordingly, the switching of bulbs is to be displayed in LabView. Hello everyone, I am new to LabView VISA. I'm told it's possible to build a USB signal into PsychoPy ( ), but I haven't found anyone who can do it yet.Ĭan anybody recommend a different piece of experimental software which would be able to send a signal to the NI USB-6218 while also presenting visual and auditory stimuli for a psychology experiment (with randomisation and accurate timing etc)? Or can you suggest anybody who would be able to write the PsychoPy USB extension?Īny help/advice/info would be much appreciated, I'm really stuck.

I haven't found any experimental software which is capable of sending signals to an external device via USB (only parallel port). I want to be able to programme an experiment which at certain points will send a trigger to the NI box, which in turn will trigger a Digitimer DS5 ( ) to give an electrocutaneous shock. I have an NI USB-6218 BNC which I'm trying to integrate into some experiment software for psychology studies.
