LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I do this?

I have a C code that I'm trying to transfer into Labview that accesses a
Data acquisition card that is not recognized by Labview. The way I see
it, I have to create my own driver for it, but I can't figure out how I
can access the card. If it helps, here is the C code for accessing the
card: outp(0x0300,0); So I somehow have to find a way to send to address
0x0300 in Labview but am unsure how to do it. Any help is appreciated,
thanks.

-John
0 Kudos
Message 1 of 5
(2,546 Views)
There are two VI's to do that, IN Port.VI and OUT Port.VI. They are located
in advanced functions palete.


"John Pavlicek" wrote in message
news:Pine.SOL.4.10.10007071023001.29952-100000@herald.cc.purdue.edu...
> I have a C code that I'm trying to transfer into Labview that accesses a
> Data acquisition card that is not recognized by Labview. The way I see
> it, I have to create my own driver for it, but I can't figure out how I
> can access the card. If it helps, here is the C code for accessing the
> card: outp(0x0300,0); So I somehow have to find a way to send to address
> 0x0300 in Labview but am unsure how to do it. Any help is appreciated,
> thanks.
>
> -John
>
>
>




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----

http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
0 Kudos
Message 2 of 5
(2,546 Views)
I understand Labview has inport/outport vi's... but they do not work under
WinNT (mem protection!). I too am looking for a purported "peek/poke"
library that allows register access by labview.

But if you're using the serial comm section....

John Pavlicek wrote:

> I have a C code that I'm trying to transfer into Labview that accesses a
> Data acquisition card that is not recognized by Labview. The way I see
> it, I have to create my own driver for it, but I can't figure out how I
> can access the card. If it helps, here is the C code for accessing the
> card: outp(0x0300,0); So I somehow have to find a way to send to address
> 0x0300 in Labview but am unsure how to do it. Any help is appreciated,
>
thanks.
>
> -John
0 Kudos
Message 3 of 5
(2,546 Views)
Thankfully, although the system I am on here is NT, the system this is for
is 95. I finally catch a break in the OS area.

-John

On Tue, 11 Jul 2000, Helen E. Kourous wrote:

> I understand Labview has inport/outport vi's... but they do not work under
> WinNT (mem protection!). I too am looking for a purported "peek/poke"
> library that allows register access by labview.
>
> But if you're using > the serial comm section....
>
> John Pavlicek wrote:
>
> > I have a C code that I'm trying to transfer into Labview that accesses a
> > Data acquisition card that is not recognized by Labview. The way I see
> > it, I have to create my own driver for it, but I can't figure out how I
> > can access the c
ard. If it helps, here is the C code for accessing the
> > card: outp(0x0300,0); So I somehow have to find a way to send to address
> > 0x0300 in Labview but am unsure how to do it. Any help is appreciated,
> > thanks.
> >
> > -John
>
>
>
0 Kudos
Message 4 of 5
(2,546 Views)
There is a group if install files called AccessHW in the NI site. These should
work with NT as they certainly work with Win2000. I think that should solve
your problems. They allow registry access and memory DMA functions
0 Kudos
Message 5 of 5
(2,546 Views)