Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Connect hamamatsu c9525 to labview via USB port/communication error

$
0
0

Hello to everyone!

 

This was my first attempt at connecting an external device to LabView: I watched a tutorial and tried to follow.

 

I tried to connect the Hamamatsu C9525 HV source to a laptop (Windows7, 32b) using the usb port.

First I tried to install the provided software, written in VB6, and it did not work: I had to download from the internet two .ocx files:

sysinfo.ocx and mscomm32.ocx. After that it worked.

 

Then I tried to set up NI MAX in order to establish communication between LabView and Hamamatsu :

 serial&parallel/COM3

The driver for the USB Serial port (COM3) had already been successfully installed by Windows

when I was trying to configure it in ni-max.

Having completed the ni-max dialogue I opened an axample in labview: Hamamatsu C9525 output DC volts.vi

From VISA resource name I selected COM3_hamamatsuHV as I had named it and an error appeared :

error- 1073807246 occured at visa open... Possible reason: Hex 0xBFFF0072 The resource is valid but visa cannot currently access it.

Went back to NI-max ,selected port, port settings, Validate => Could not open a visa session to "ASRL3::INSTR".visa error code 0xBFFF0072 .The resource is valid but visa cannot currently access it.

On the test panel: is port connected/ error: hex: 0xbfff001d The specified attribute is not defined or supported by the referenced resource.

 

I looked around the forum for these problems, disabled the  "turn off device" from "power management " and the rest but it did not work.

Right now nothing works on that port: not even the originally working Hamamatsu provided program: it gives the same communication error :

COM port # is unacquireble  and "COM port # is not set up"

 

I think I completely messed up the NI-max port setup (in the pdf it said the driver for the device should not be installed but Windows had already done it). 

 

So: how do I undo/delete the ni-max configuration?

what do I need to do in order to properly set up the communication between Labview and hamamatsu ?

 

Please help, I am lost.

 

 

 


Viewing all articles
Browse latest Browse all 5565

Trending Articles