取消
显示结果 
搜索替代 
您的意思是: 

Interface AC power source

I have recently bought an AC power source from LISUN GROUP (LSP-500VAR) as i tried interfacing it with labview the device was not responding but when i used the system given software( which is not on labview) it was working. It is communciating using Rs232.

Please help

0 项奖励
1 条消息(共 23 条)
4,730 次查看
Does the manufacturer have a manual that tells you how to use it via RS232?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
2 条消息(共 23 条)
4,684 次查看

the manufacturer has given communication protocol for various operations.

The manufacturer has not provided any drivers for the device will that cause a problem in communication.

Thank You

0 项奖励
3 条消息(共 23 条)
4,679 次查看

Hi naman,

 

start with the "Basic Serial Read and Write" example VI coming with LabVIEW.

Send commands as described in your manual and check devices answers according to your manual…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 项奖励
4 条消息(共 23 条)
4,627 次查看

i tried the same, i am attaching the pic of the block diagram kindly let me know if there is error, the problem is the device is not responding or giving back data

 

 

0 项奖励
5 条消息(共 23 条)
4,625 次查看

Hi naman,

 

when the manual states "send byte 0x15" you need to send exactly that byte. Right now it seems you send 4 bytes "0", "x", "1", and "5" which is wrong!

 

Set your string constants to "hex display" mode and input the needed byte values then!

 

Setting a timeout of 1000s (or >16min) is also not recommended…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
6 条消息(共 23 条)
4,612 次查看

i tried the same but still no communication, will it play any role if we dont have the device drivers for the device as the company is not working in labview

0 项奖励
7 条消息(共 23 条)
4,609 次查看

Hi naman,

 

as long as you have a (good) programming manual you can write your own device driver VIs.

 

You only need to know the exact parameters of the communication protocol!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 项奖励
8 条消息(共 23 条)
4,604 次查看

@GerdW wrote:

Hi naman,

 

when the manual states "send byte 0x15" you need to send exactly that byte. Right now it seems you send 4 bytes "0", "x", "1", and "5" which is wrong!

 

Set your string constants to "hex display" mode and input the needed byte values then!

 

Setting a timeout of 1000s (or >16min) is also not recommended…


I'm going to add that the "0x" isn't part of the code you should send.  That's just telling you that the following number is a hex number.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 项奖励
9 条消息(共 23 条)
4,585 次查看
Please attach the manual and an image of your current block diagram. You also need to make sure that the vendors software is not running.
0 项奖励
10 条消息(共 23 条)
4,566 次查看