LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Traffic Generating using Smartbits

How to make SmartBits 6000C generate Ethernet traffic from LabView?

I have a DLL for SmartBits and I'm able to connect it.

Could someone advise something?

0 Kudos
Message 1 of 14
(5,320 Views)

Would this help?

 

 Passing a Variety of Data Types from DLL to LabVIEW

Andy Chang
National Instruments
Message 2 of 14
(5,309 Views)

There is explanation on how to Control an Instrument. The function HTGetStructure is mainly used there. As far as I understand I have to use similar approach using function HTSetStructure (in order to set up transmit parameters) isn't it?

0 Kudos
Message 3 of 14
(5,303 Views)

Ludmilla wrote:

There is explanation on how to Control an Instrument. The function HTGetStructure is mainly used there. As far as I understand I have to use similar approach using function HTSetStructure (in order to set up transmit parameters) isn't it?


You will need to review the documentation for the SmartBits dll in order to determine which functions you will need to use.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Message 4 of 14
(5,299 Views)
I used the SmartBits 600 and initially used C wrappers around the call to their dll to match LabVIEW datatypes to the complex Spirent datatypes. Unfortunately, I no longer have that code. But, after a couple of years of using that, Spirent sent me a pretty complete LabVIEW driver that they wrote. I don't know who you would have to contact or whether it would work with the 6000 but it might worth pursuing.
Message 5 of 14
(5,295 Views)

Thank you, Dennis, for your response. I've already made an enquire to Spirent and I'm waiting ...

 

I decided to go forward and generate traffic using at least two simple SmartBits' functions - HTTransmitMode (to set up transmission mode) and HTRun (to start transmit traffic). As I can see HTTransmitMode works fine. But function HTRun doesn't start traffic running.

I have no idea what to do.  If someone has any ideas or has had similar expirience, please reply.

0 Kudos
Message 6 of 14
(5,252 Views)

 I've  managed to run traffic using two dll's functions, mentioned above. It works fine.

0 Kudos
Message 7 of 14
(5,217 Views)

We've communicated to a SmartBits 6000 chassis with some success using LV drivers linked to the SmartWindows DLL.

 

After seeing Dennis's response about a LV driver being available through Spirent I made an inquiry also.  This morning I received a link to an old driver (circa 2002) that's linked to the SmartAPS DLL.  Does that sound like the one they gave you Dennis?

 

I was hoping it would be more of a general purpose instrument driver, but that's all they said they had.

0 Kudos
Message 8 of 14
(5,166 Views)
I just looked at some of Dennis's related posts and it appears that he had a SmartBits 200 chassis, so I think that answers my question.
0 Kudos
Message 9 of 14
(5,162 Views)

John,

Did you manage to  connect LabView and SmartWindow somehow? Or you just mean that your DLL have the same functions as SmartWindow?

0 Kudos
Message 10 of 14
(5,149 Views)