LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open DMX to control RGB LED lights

Solved!
Go to solution

it's impossible to set baud rate at 250000.

Why???????????????????????????????????????

 

0 Kudos
Message 31 of 37
(1,759 Views)

From tthe manual

 

The NI 9871 supports arbitrary baud rates according to the following equation:

 

BaudRate = 3.6864 Mbps / (Prescaler * Divider)

Prescaler can be (4..65535).

Divider can be 1 or 4

 

This results in a baudrate of:

 

3.6864 Mbps / (15 * 1) = 245.76 kBaud as the closest possible baudrate

 

Rolf Kalbermatter
My Blog
0 Kudos
Message 32 of 37
(1,741 Views)

Thanks a lot for the answer.

 

I'm working with ni 9871 and crio 9012 in scan interface and when i set this baud rate I 'have the same error : -1073807330.

Could you help me?

 

Thanks

 

0 Kudos
Message 33 of 37
(1,702 Views)
Hello
here I am looking VI to control a projector have led
you could send an example n thank you
I have the cable usb2dmx
thank you good day
Smiley Happy
laitimix@gmail.com
0 Kudos
Message 34 of 37
(1,635 Views)

Hello. I'm sorry for my english. Here is my working VI USB to DMX512 I used FT230XS and SN75176

0 Kudos
Message 35 of 37
(1,294 Views)

Hi miso,

 

that's not a VI, but just a JPG showing a part of a block diagram of a badly written VI…

 

Please do those steps before posting your real VI:

- implement error handling

- show the labels of all controls in the block diagram!

- use AutoCleanup

- get rid of the (mostly) unneeded sequence structure

- get rid of InitArray functions when the size is set to just 1!

- are you sure you need to wait for 13 ms in parallel to a VISAWrite?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 36 of 37
(1,285 Views)

Hi Serdi,

I am try to control Enttec DMX USB PRO without any success. I did create the VI as you show in post. When I run the VI, the Enttec DMXUSBPRO get no response and VI gets no error. if DMXUSBPRO get response, the green light should blinking. I tested it with Enttect's software. I see you were able help Emann and Trintiy solved issue. Would you help me to look my VI where i did wrong?

Thanks,

Johnny

0 Kudos
Message 37 of 37
(1,026 Views)