Benchtop Measurement and Test
Distributed Measurement and Control
High-Performance Test
Systems Engineering Software
Perspectives showcases how NI sees what’s next in the world of test and technology.
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
날짜: 08-11-2021 02:19 AM
다른 컴퓨터에서 명령어를 보내서 이 컴퓨터로 수신해 코딩을 실행합니다.
위는 시리얼 통신을 받는 부분이고
아래쪽이 실행해야되는 코딩부분입니다
물탱크를 채우는 시도를 하고있습니다
다른 PC에서 "TANK" 라는 통신을 보내면 이 PC에서 물탱크를 채워야 합니다
이벤트 구조로 작성해도 케이스 구조로 작성해도 물탱크를 채우는 코딩이 작동하질 않습니다
어떻게 연결해야 하나요 ?
해결되었습니다! 솔루션으로 이동.
날짜: 08-12-2021 11:59 PM
안녕하세요,
이벤트 구조에 다른 이벤트가 실행된 것은 아닌지요?
이벤트 구조에 While loop가 없으니 다른 이벤트가 실행되면 다시 실행되지 않습니다.
또, 실행 되더라고 Empty제어기값이 참일때 이벤트 구조가 실행되는데 이값은 참인지요?
디버그 하실때 확인하고 싶으신 와이어에 프로브를 두어서 실해보시면 와이어에 어떤 값이 지나가는지 알 수 있어요.
시리얼 통신에 에러가 없는지, Empty제어기값이 참인지 프로브로 확인해보시길 바랍니다.
날짜: 08-18-2021 02:37 AM
이제 물탱크가 멋대로 작동하는 일이 없어졌습니다.
그리고 Empty 제어값이 참인데도 이벤트가 발생하지 않습니다.
What do you need our team of experts to assist you with?
Thanks!
We'll be in touch soon!